static_synapse

Contents

static_synapse#

class brainpy.state.static_synapse(*args, **kwargs)#

Fixed-weight, fixed-delay synapse spec (NEST static_synapse).

A presynaptic spike on edge e delivers the constant amplitude weight[e] (pA) to the postsynaptic neuron after delay; no per-edge state evolves.

Parameters:
  • weight (ArrayLike or Quantity, optional) – Per-edge synaptic weight (pA; bare numbers interpreted as pA, sign preserved: positive excitatory, negative inhibitory). Default 1.0 pA.

  • delay (Quantity, optional) – Homogeneous axonal delay; must be finite and strictly positive. Grid quantization (NEST rounds to integer steps, minimum one step) is handled by the substrate’s InputDelay. Default 1.0 ms.

  • receptor_type (int, optional) – Postsynaptic receptor port (non-negative integer). Default 0.

See also

static_synapse_hom_w

Variant with a single weight shared across edges.

Examples

>>> import brainunit as u
>>> from brainpy.state import static_synapse
>>> s = static_synapse(weight=20.0 * u.pA)
>>> s.is_homogeneous_weight
False
>>> s.edge_state_init()
{}