NEST Base Classes

Contents

NEST Base Classes#

Abstract marker base classes for all NEST-compatible models in brainpy.state. Every NEST-compatible class inherits from exactly one of these four bases, which makes it easy to introspect model type at runtime (e.g. isinstance(model, NESTPlasticity)).

NESTNeuron

Abstract base class for all NEST-compatible neuron models.

NESTSynapse

Abstract base class for all NEST-compatible synapse models.

NESTPlasticity

Abstract base class for all NEST-compatible plasticity synapse models.

NESTDevice

Abstract base class for all NEST-compatible device models.

Class Hierarchy#

brainstate.nn.Dynamics
  └─ Dynamics                 (_base.py)
       ├─ Neuron              (_base.py)
       │    └─ NESTNeuron     (_nest/_base.py)
       ├─ NESTSynapse         (_nest/_base.py)
       │    └─ NESTPlasticity (_nest/_base.py)
       └─ NESTDevice          (_nest/_base.py)