🧠 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.

🇺🇦 Українська
Raster plot — each dot is a spike (excitatory = purple, inhibitory = red)
Membrane voltage — neuron #0 (Vthresh = −55 mV, dashed)

Drive

Connectivity

Plasticity

Statistics

Firing rate
Synchrony
Burst period
Spikes / s

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).