pygrenade_vx.network.multicompartment.mechanisms.CurrentBasedSynapse

class pygrenade_vx.network.multicompartment.mechanisms.CurrentBasedSynapse(current: int = 0, time_constant: int = 0)

Bases: pygrenade_vx.network.multicompartment.mechanisms.Mechanism

Mechanism that defines the parameters of a current based synaptic input.

__init__(current: int = 0, time_constant: int = 0)

Initialize a current based synapse.

Parameters
  • current – Strength of the synaptic input.

  • time_constant – Time constant of the synaptic input.

Methods

__init__([current, time_constant])

Initialize a current based synapse.

copy()

Create copy of the mechanism.

to_grenade()

Create the mechanism in grenade.

copy()pygrenade_vx.network.multicompartment.mechanisms.CurrentBasedSynapse

Create copy of the mechanism.

Returns

Copy of the mechanism.

to_grenade()_pygrenade_vx_network.MechanismSynapticInputCurrent

Create the mechanism in grenade.

Returns

Grenade object of the mechanism.