Leaky Integrate-and-Fire Neuron

Membrane potential dynamics, spike generation, and firing rate coding

Neuron Parameters

Input Current

Firing Stats

Firing rate
CV ISI
Last ISI
Spike count0

LIF equation:

τ_m dV/dt = -(V-V_rest) + R_m·I(t)

Threshold: V ≥ V_th → spike, V→V_reset

Theory F-I curve (no noise):

f = 1/(τ_m·ln((R_m·I−V_rest)/(R_m·I−V_th)) + t_ref)⁻¹

Blue: V(t) trace
Red marks: spike times
Yellow: threshold