pygrenade_vx.network.abstract.multicompartment.mechanisms.Fire

class pygrenade_vx.network.abstract.multicompartment.mechanisms.Fire(v_threshold: int = 125, v_reset: int = 70, tau_ref: float = 2e-06, holdoff_time: float = 0.0)

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

The Fire mechanisms controls the threshold and reset.

__init__(v_threshold: int = 125, v_reset: int = 70, tau_ref: float = 2e-06, holdoff_time: float = 0.0)

Initialize fire mechanism.

Parameters
  • v_threshold – Threshold potential (in CADC values).

  • v_reset – Reset potential (in CADC values).

  • tau_ref – Refractory period (in seconds).

  • holdoff_time – Time (in s) for which the neuron is no longer clamped to the reset potential but the threshold comparator is still disabled.

Methods

__init__([v_threshold, v_reset, tau_ref, …])

Initialize fire 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.

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.MechanismFire.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.MechanismFire.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.Fire

Create copy of the mechanism.

Returns

Copy of the mechanism.

to_grenade()_pygrenade_vx_network_abstract.MechanismFire

Create the mechanism in grenade.

Returns

Grenade object of the mechanism and its parameter space.