Projection

Contents

Projection#

class brainpy.state.Projection(name=None)#

Base class for synaptic projection modules.

A projection connects pre-synaptic and post-synaptic neural populations, handling synaptic transmission, weight application, and input delivery. In the BrainState execution order, projections are updated before dynamics modules, following the natural information flow: projections process inputs first, then neurons integrate.

Parameters:
  • *args – Positional arguments forwarded to brainstate.nn.Module.

  • **kwargs – Keyword arguments forwarded to brainstate.nn.Module.

Raises:

ValueError – If update() is called but no child nodes are defined.

See also

AlignPostProj

Post-synaptic alignment projection.

DeltaProj

Delta-input projection (direct voltage changes).

CurrentProj

Current-based projection.

align_pre_projection

Pre-synaptic alignment convenience wrapper.

align_post_projection

Post-synaptic alignment convenience wrapper.

Notes

Subclasses typically compose a communication module (connection weights), a synapse model, and a synaptic output module. The base class delegates its update() call to child nodes registered via the module tree.