pygrenade_vx.network.abstract.multicompartment.morphology_builder.Neuron
-
class
pygrenade_vx.network.abstract.multicompartment.morphology_builder.Neuron Bases:
objectMulticompartment-Neuron class.
This is not the fully implemented neuron but contains the necessary data to construct a neuron in the final implementation from it.
-
__init__() Initialize self. See help(type(self)) for accurate signature.
Methods
construct_parameter_space(lower_limits, …)Construct a parameter space with the given limits.
construct_parameterization(values)Construct a parameterization with the given values.
reverse_translate(native_parameters)Return the neuron parameters.
translate(parameters[, copy])Return the neuron parameters.
Attributes
-
compartment_ids_grenade= {}
-
compartments= {}
-
connection_ids_grenade= {}
-
connections= []
-
classmethod
construct_parameter_space(lower_limits: Dict[str, Any], upper_limits: Dict[str, Any]) Construct a parameter space with the given limits.
- Lower_limits
Dictionary with lower limits. The key should be the full label to the different parameters.
- Lower_limits
Dictionary with upper limits. The key should be the full label to the different parameters.
- Returns
Parameter space with the given limits.
-
classmethod
construct_parameterization(values: Dict[str, Any]) Construct a parameterization with the given values.
- Parameters
values – Dictionary with values. The key should be the full label to the different parameters.
- Returns
Parameterization of the neuron.
-
default_parameters= {}
-
mechanisms_ids_grenade= {}
-
reverse_translate(native_parameters) Return the neuron parameters.
Overwritten to prevent a translation to itself to increase performance.
- Parameters
native_parameters – Parameters of the neuron.
- Returns
Paramters of the neuron.
-
translate(parameters, copy=True) Return the neuron parameters.
Overwritten to prevent a translation to itself to increase performance.
- Parameters
parameters – Parameters of the neuron.
copy – If true return a copy of the paramters.
- Returns
Parameters of the neuron.
-
translations= {}
-