Skip to content

Models ​

livn ships with several built-in neuron models spanning different levels of biophysical detail. Each model implements the Model protocol and is compatible with one or more backends.

ModelTypeBackendsDescription
RCSDTwo-compartmentbrian2, NEURON, DiffraxBooth-Rinzel-Kiehn motoneuron & Pinsky-Rinzel interneuron with calcium dynamics
CA1Multi-compartmentNEURONMorphologically detailed hippocampal pyramidal neurons
IzhikevichPoint neuronbrian2Quadratic integrate-and-fire with recovery variable
LIFPoint neuronbrian2Leaky integrate-and-fire
SLIFPoint neuronDiffraxEvent-driven spiking LIF for differentiable simulation

Choosing a model ​

  • For biophysically detailed simulations with the NEURON backend, use RCSD (the default) or CA1.
  • For differentiable simulation with JAX/Diffrax, use RCSD or SLIF.
  • For fast prototyping with brian2, use Izhikevich or LIF.

Released under the MIT License.