pygrenade_vx.network.abstract.multicompartment.mechanisms.MembraneCapacitance

class pygrenade_vx.network.abstract.multicompartment.mechanisms.MembraneCapacitance(capacitance: float = 2.2e-12)

Bases: pygrenade_vx.network.abstract.multicompartment.mechanisms.Mechanism

Mechanism that defines the membrane capacitance of a compartment.

__init__(capacitance: float = 2.2e-12)

Initialize membrane capacitance with given capacitance.

Parameters

capacitance – Membrane capacitance in Farad.

Methods

__init__([capacitance])

Initialize membrane capacitance with given capacitance.

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.

to_grenade()

Create the mechanism in grenade.

classmethod construct_parameter_space(lower_limits: Dict[str, float], upper_limits: Dict[str, float])_pygrenade_vx_network_abstract.MechanismCapacitance.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]])_pygrenade_vx_network_abstract.MechanismCapacitance.ParameterSpace.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.MembraneCapacitance

Create copy of the mechanism.

Returns

Copy of the mechanism.

to_grenade()_pygrenade_vx_network_abstract.MechanismCapacitance

Create the mechanism in grenade.

Returns

Grenade object of the mechanism.