pygrenade_vx.network.abstract.multicompartment.mechanisms.Leak
-
class
pygrenade_vx.network.abstract.multicompartment.mechanisms.Leak(v_leak: int = 80, tau_mem: float = 1e-05) Bases:
pygrenade_vx.network.abstract.multicompartment.mechanisms.MechanismThe Leak mechanism.
-
__init__(v_leak: int = 80, tau_mem: float = 1e-05) Initialize leak mechanism.
- Parameters
v_leak – Leak potential (in CADC values).
tau_mem – Membrane time constant (in seconds).
Methods
__init__([v_leak, tau_mem])Initialize leak mechanism.
construct_parameter_space(lower_limits, …)Construct a parameter space with the given limits.
construct_parameterization(values)Construct a parameterization for the given mechanism.
copy()Create copy of the mechanism.
Create the mechanism in grenade.
-
classmethod
construct_parameter_space(lower_limits: Dict[str, float], upper_limits: Dict[str, float]) → _pygrenade_vx_network_abstract.MechanismLeak.ParameterSpace Construct a parameter space with the given limits.
- Parameters
lower_limits – Lower limits of the parameter space. The keys are the names of the parameters.
upper_limits – Upper limits of the parameter space. The keys are the names of the parameters.
- Returns
Parameter space with the given limits.
-
classmethod
construct_parameterization(values: Dict[str, Union[float, int]]) → grenade.MechanismLeak.Parameterization Construct a parameterization for the given mechanism.
- Parameters
values – Values for the different parameters. The keys are the names of the parameters.
- Returns
Parameterization.
-
copy() → pygrenade_vx.network.abstract.multicompartment.mechanisms.Leak Create copy of the mechanism.
- Returns
Copy of the mechanism.
-
to_grenade() → _pygrenade_vx_network_abstract.MechanismLeak Create the mechanism in grenade.
- Returns
Grenade object of the mechanism and its parameter space.
-