API Reference#
Complete API reference for brainpy.state. The library exposes two distinct
model families with different maturity levels — see the
landing page for the full maturity table.
Stable API#
The Stable API is the recommended entry point for production work and surrogate-gradient training. Public interfaces are stable for the 0.0.x series.
Base classes
Abstract base classes shared by all models: Dynamics, Neuron,
Synapse.
BrainPy-style models
Spiking neuron models (LIF, ALIF, AdEx, HH, Izhikevich, …).
Synaptic dynamics (Expon, Alpha, AMPA, GABA, NMDA).
Connect neural populations (AlignPostProj, DeltaProj, …).
Convert conductances to currents (COBA, CUBA, MgBlock).
Short-term synaptic plasticity (STP, STD).
Readout layers (LeakyRateReadout).
Spike and current generators (PoissonSpike, SpikeTime).
Experimental API (NEST-Compatible)#
Warning
The NEST-compatible model family is under active development. Parameter names, defaults, numerical behavior, and the set of available models may change without notice across 0.0.x releases. Start with the NEST-Compatible Models — Status & Limitations for current scope and limitations.
Scope, limitations, ongoing migration, and what users should not yet rely on.
NESTNeuron, NESTSynapse, NESTPlasticity, NESTDevice.
IAF, AdEx, GIF, GLIF, HH, Izhikevich, rate, and binary neurons.
Static synapses, gap junctions, and special connections.
STDP, STP, and voltage-based learning rules.
Generators, recorders, and detectors.