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) traceRed marks: spike timesYellow: threshold