jaxley.synapses.IonotropicSynapse#
- class IonotropicSynapse(name=None)[source]#
Bases:
SynapseCompute synaptic current and update synapse state for a generic ionotropic synapse.
The synapse state “s” is the probability that a postsynaptic receptor channel is open, and this depends on the amount of neurotransmitter released, which is in turn dependent on the presynaptic voltage.
- The synaptic parameters are:
gS: the maximal conductance across the postsynaptic membrane (uS)
e_syn: the reversal potential across the postsynaptic membrane (mV)
- k_minus: the rate constant of neurotransmitter unbinding from the postsynaptic
receptor (s^-1)
- Details of this implementation can be found in the following book chapter:
L. F. Abbott and E. Marder, “Modeling Small Networks,” in Methods in Neuronal Modeling, C. Koch and I. Sergev, Eds. Cambridge: MIT Press, 1998.
- Parameters:
name (str | None)
- synapse_params = None#
- synapse_states = None#
- update_states(states, delta_t, pre_voltage, post_voltage, params)[source]#
Return updated synapse state and current.
- compute_current(states, pre_voltage, post_voltage, params)[source]#
Return current through one synapse in nA.
Internally, we use jax.vmap to vectorize this function across many synapses.
- Parameters:
- Returns:
Current through the synapse in nA, shape ().
- Return type: