NEST-Compatible Network Builder#
High-level builders, projections, connection rules, and simulation utilities
for assembling and running NEST-compatible networks in brainpy.state.
This is the declarative, NEST-like network layer: describe populations and
connections with a Builder, materialize a
Network, and drive it with a
Simulator.
Network Construction & Execution#
Assemble a network from a declarative description and run it.
brainpy.state network base class. |
|
Imperative variant of |
|
Explicit NEST-flavored network builder and runner. |
|
Recorded spikes and analog traces from a |
Population Views & Synapse Collections#
Handles returned when slicing populations or referring to groups of synapses.
A view over one or more slices of populations/devices (NEST-style). |
|
A filtered, lazy view over realized synapses (NEST |
Recording#
Collect spikes, state variables, and synaptic weights during simulation.
Forward a source-population signal to a passive NESTDevice each step. |
|
Per-send weight events over a weight trajectory (the thin send-view). |
Projection Classes#
Connect populations under the various NEST-like connection rules.
One-to-one connection: edge |
|
All-to-all connectivity. |
|
Each (pre, post) pair has independent Bernoulli probability |
|
Symmetric Bernoulli: if edge (i,j) exists then (j,i) exists too. |
|
Each post-synaptic neuron receives exactly |
|
Each pre-synaptic neuron has exactly |
|
Exactly |
|
Each (pre, post) pair has a Poisson-distributed number of edges with mean |
|
Delayed, weighted delta-event projection from one population segment. |
|
Event-driven plastic projection from one population segment. |
|
Voltage-coupled plastic projection — primitive #2 of the typed family. |
Connection Rules#
Rule objects and helpers used to specify how populations are wired together.
Base class for connection rules. |
|
Return a fixed-indegree rule: each post neuron gets exactly |
|
Return a fixed-total-number rule: exactly |
|
Return a pairwise-Bernoulli rule: connect each |
|
Return a |
|
Return a rule wiring exactly the given |
|
Step indices where each edge's presynaptic neuron fired (the send mask). |