Expand description
Fused E-I balanced LIF network simulation in f64 arithmetic.
Runs a complete excitatory-inhibitory network with CSR weight matrix, Poisson external drive, and spike-scatter coupling in a single Rust call — no per-step Python overhead.
Synapses are delta synapses in the sense of Brunel (2000, J. Comput.
Neurosci. 8:183): a presynaptic spike moves the postsynaptic membrane by
its weight in millivolts, one step later. Every neuron also receives
EXTERNAL_SYNAPSES independent excitatory Poisson inputs, each firing at
ext_rate Hz and moving the membrane by EXTERNAL_WEIGHT_MV. The
external drive alone reaches threshold at about 9.4 Hz per input
(15 mV / (0.1 mV x 800 x 20 ms)).
An earlier version multiplied each jump by the step size, so a spike moved
the membrane by weight x dt (0.01 mV for the default E-to-E weight at
dt = 0.1 ms), and the external drive was one input per neuron: no setting
of the Studio’s controls produced a single spike.
Structs§
- EIResult
- Result of an E-I network simulation.
Constants§
- EXTERNAL_
SYNAPSES - Independent external excitatory Poisson inputs per neuron.
- EXTERNAL_
WEIGHT_ MV - Membrane jump caused by one external input spike, in millivolts.
Functions§
- simulate_
ei - Run a complete E-I balanced LIF network simulation.