pygrenade_vx.network.abstract.multicompartment.mechanisms.CurrentBasedSynapse

class pygrenade_vx.network.abstract.multicompartment.mechanisms.CurrentBasedSynapse(receptor_type: str = 'excitatory', *, strength: int = 500, time_constant: float = 1e-05, global_strength: int = 600)

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

Current-based synapse.

Current-based synapse with a synaptic time constant and an input strength. If all synaptic inputs on a chip have the same strength, the synaptic current injected on the membrane is equalized between different synaptic inputs. Otherwise, the strength is directly translated to i_bias_gm of the synaptic input.

__init__(receptor_type: str = 'excitatory', *, strength: int = 500, time_constant: float = 1e-05, global_strength: int = 600)

Initialize a current based synapse.

Parameters
  • strength – Strength of the synaptic input.

  • time_constant – Time constant (in s) of the synaptic input.

  • global_strength – Global scaling of the synaptic input strength. Translates to synapse_dac_bias. Has to be the same for all synaptic inputs on a chip.

Methods

__init__([receptor_type, strength, …])

Initialize a current based synapse.

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.MechanismSynapticInputCurrent.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.MechanismSynapticInputCurrent.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.CurrentBasedSynapse

Create copy of the mechanism.

Returns

Copy of the mechanism.

to_grenade()_pygrenade_vx_network_abstract.MechanismSynapticInputCurrent

Create the mechanism in grenade.

Returns

Grenade object of the mechanism.