🧠 Spiking Neural Network — LIF & STDP
A network of 50 Leaky Integrate-and-Fire (LIF) neurons (40 excitatory, 10 inhibitory) with spike-timing-dependent plasticity (STDP). Each neuron follows τm·dV/dt = −(V − Vrest) + Rm·I. Watch synchronous bursting in the raster plot and voltage trace below.
Drive
Connectivity
Plasticity
Statistics
LIF Model & STDP
Each neuron integrates synaptic and external input: τm·dV/dt = −(V − Vrest) + Rm·Itotal. When V exceeds the threshold Vthresh = −55 mV a spike is emitted, V resets to −75 mV, and a 2 ms absolute refractory period begins. Synaptic currents decay exponentially with τsyn = 3 ms. STDP adjusts weights based on the time difference between pre- and post-synaptic spikes: Δw = A+·exp(−|Δt|/τ+) for causal pairs (potentiation) and Δw = −A−·exp(−|Δt|/τ−) for anti-causal pairs (depression).