static_synapse#
- class brainpy.state.static_synapse(*args, **kwargs)#
Fixed-weight, fixed-delay synapse spec (NEST
static_synapse).A presynaptic spike on edge
edelivers the constant amplitudeweight[e](pA) to the postsynaptic neuron afterdelay; no per-edge state evolves.- Parameters:
weight (
ArrayLikeorQuantity, optional) – Per-edge synaptic weight (pA; bare numbers interpreted as pA, sign preserved: positive excitatory, negative inhibitory). Default1.0pA.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’sInputDelay. Default1.0 ms.receptor_type (
int, optional) – Postsynaptic receptor port (non-negative integer). Default0.
See also
static_synapse_hom_wVariant 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() {}