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 & V1 Renshaw cell with calcium dynamics
CA1Multi-compartmentNEURONMorphologically detailed hippocampal pyramidal neurons
GLIFPoint neuronDiffrax, brian2Allen GLIF1–5, hard + escape mechanisms. Leaky integrate-and-fire is GLIF(level=1)
IzhikevichPoint neuronbrian2Quadratic integrate-and-fire with recovery variable

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 GLIF.
  • For fast prototyping with brian2, use GLIF or Izhikevich.

Released under the MIT License.