Leaky Integrate-and-Fire (LIF) ā
The simplest model, for the brian2 backend. A single-compartment leaky integrator with a hard threshold and reset.
python
from livn.models.lif import LIF
model = LIF()Dynamics ā
Ļ dv/dt = (v_rest - v) + Rm * (I + I_noise) + stim| Parameter | Value |
|---|---|
| Resting potential (v_rest) | -70 mV |
| Threshold | -55 mV |
| Reset | -75 mV |
| Membrane time constant (Ļ) | 10 ms |
| Membrane resistance (Rm) | 100 MĪ© |
Background noise ā
Gaussian noise with configurable amplitude per population.