tsodyks_synapse#
- class brainpy.state.tsodyks_synapse(*args, **kwargs)#
Tsodyks, Uziel & Markram (2000) short-term-plasticity synapse spec.
On each presynaptic spike the per-edge state is propagated over the inter-spike interval
h = t_now - t_lastspikeand the released fractiondelta = u*xis delivered asw_eff = delta * weight. The update order is load-bearing (NEST “don’t change the order”): propagateu, x, y, then facilitateu, then release.- Parameters:
weight (
ArrayLikeorQuantity, optional) – Per-edge synaptic weight (pA; bare numbers interpreted as pA, sign preserved). Default1.0pA.delay (
Quantity, optional) – Homogeneous axonal delay (> 0). Default1.0 ms.receptor_type (
int, optional) – Postsynaptic receptor port (>= 0). Default0.tau_psc (
Quantity, optional) – Synaptic-current decay constant (> 0). Default3.0 ms.tau_fac (
Quantity, optional) – Facilitation constant (>= 0;0disables facilitation). Default0.0 ms.tau_rec (
Quantity, optional) – Recovery constant (> 0). Default800.0 ms.U (
float, optional) – Baseline utilization increment, in[0, 1]. Default0.5.x (
float, optional) – Initial recovered / active / utilization fractions, each in[0, 1]withx + y <= 1. Defaults1.0,0.0,0.0.y (
float, optional) – Initial recovered / active / utilization fractions, each in[0, 1]withx + y <= 1. Defaults1.0,0.0,0.0.u (
float, optional) – Initial recovered / active / utilization fractions, each in[0, 1]withx + y <= 1. Defaults1.0,0.0,0.0.
Notes
t_lastspikeinitialises to0.0with no first-spike guard; with the defaultx=1, y=0(soz=0) the first spike is interval-invariant, matching NEST. The propagatorPxydivides bytau_psc - tau_recwith no singular guard (as in NEST) — avoidtau_psc ≈ tau_rec.References
Examples
>>> import brainunit as u >>> from brainpy.state import tsodyks_synapse >>> s = tsodyks_synapse(U=0.5) >>> s.is_homogeneous_weight False >>> s.edge_state_init()['t_lastspike'] 0.0