tsodyks_synapse_hom#
- class brainpy.state.tsodyks_synapse_hom(*args, **kwargs)#
Homogeneous Tsodyks (2000) short-term-plasticity synapse spec.
Shares
weight,U,tau_psc,tau_facandtau_recacross all edges;x(recovered),y(active) andu(utilization) are per-edge state propagated over the inter-spike intervalh = t_now - t_lastspikeand updated on each presynaptic spike. The effective amplitude delivered for a spike isw_eff = u*x * weight.- Parameters:
weight (
ArrayLikeorQuantity, optional) – Shared synaptic weight (pA; bare numbers are interpreted as pA). 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 time constant (> 0). Default3.0 ms.tau_fac (
Quantity, optional) – Facilitation time constant (>= 0;0disables facilitation). Default0.0 ms.tau_rec (
Quantity, optional) – Recovery time constant (> 0). Default800.0 ms.U (
float, optional) – Baseline utilization increment, in[0, 1]. Default0.5.x (
float, optional) – Initial recovered / active / utilization fractions.x + y <= 1is enforced;uis not range-checked (preserving the NEST_homasymmetry). Defaults1.0,0.0,0.0.y (
float, optional) – Initial recovered / active / utilization fractions.x + y <= 1is enforced;uis not range-checked (preserving the NEST_homasymmetry). Defaults1.0,0.0,0.0.u (
float, optional) – Initial recovered / active / utilization fractions.x + y <= 1is enforced;uis not range-checked (preserving the NEST_homasymmetry). Defaults1.0,0.0,0.0.
Notes
NEST
_homvalidation messages drop the quotes around parameter names ("tau_psc must be > 0.","U must be in [0,1]."). The propagatorPxyhas atau_psc - tau_recdenominator; NEST adds no singular guard, so neither does this spec — avoidtau_psc ≈ tau_rec.References
Examples
>>> import brainunit as u >>> from brainpy.state import tsodyks_synapse_hom >>> s = tsodyks_synapse_hom(U=0.5) >>> s.is_homogeneous_weight True >>> sorted(s.edge_state_init()) ['t_lastspike', 'u', 'x', 'y']