bluepyemodel.model.distribution_configuration¶
Distribution Configuration
Classes
|
Contains all the information related to the definition and configuration of a parameter distribution |
- class DistributionConfiguration(name, function=None, parameters=None, morphology_dependent_parameters=None, soma_ref_location=0.5, comment=None)¶
Bases:
objectContains all the information related to the definition and configuration of a parameter distribution
Init
- Parameters:
name (str) – name of the distribution.
function (str) – python function of the distribution as a string. Will be executed using the python “eval” method. The string needs to include “value” which will be replaced by the conductance of the parameter using the present distribution. It can also include “distance” if the distribution is parametrized by the distance to the soma. Example: “(-0.8696 + 2.087*math.exp(({distance})*0.0031))*{value}”.
parameters (list of str) – names of the parameters that parametrize the above function if any. Note that “value” and “distance” do not need to be specified here.
morphology_dependent_parameters (list of str) – unused. To be deprecated.
soma_ref_location (float) – location along the soma used as origin from which to compute the distances. Expressed as a fraction (between 0.0 and 1.0).
comment (str) – additional comment or note.