← Home

Parameters & Units

ar004 · 14 May 2026 · pdf

All physical quantities in the codebase use the same unit system: ms for time, mV for voltage, nF for capacitance, μS for conductance, nA for current, Hz for rates. Time fields carry an explicit _ms suffix (sim_ms, ref_ms_E, tau_gaba); CLI flags follow the same convention (–t-ms 600). A Δt of 1 means 1 ms, not 1 s.

Quantities

QuantityUnitTypical valueVariable
Integration stepms0.25dt, DT_MS
Simulation lengthms600sim_ms
Membrane time constantms20 (E), 5 (I)tau_m_E, tau_m_I
Refractory periodms3 (E), 1.5 (I)ref_ms_E, ref_ms_I
AMPA decayms2tau_ampa
GABA decayms9tau_gaba
Resting / leak potentialmV−65E_L
Spike thresholdmV−50V_th
Reset potentialmV−65V_reset
AMPA reversalmV0E_e
GABA reversalmV−80E_i
Membrane capacitancenF1.0 (E), 0.5 (I)C_m_E, C_m_I
Leak conductanceμS0.05 (E), 0.1 (I)g_L_E, g_L_I
External driveμS0.0006 (async), 0.003 (PING)t_e_async, t_e_ping
Input current (CUBA)nA20 per spikeinput_scale
CUBA weight stdnA32W_STD_CUBA
Max input rateHz25max_rate_hz
Population firing rateHz20–80r_E, r_I
Gamma frequencyHz30–80f_0

COBA / PING biophysical constants

Used by COBA and PING. Values follow neuroscience conventions (cf. Dayan & Abbott, Gerstner Neuronal Dynamics); the E:I asymmetry in 𝜏𝑚,𝐶𝑚,𝑔𝐿,𝜏ref produces the timescale separation that makes PING dynamics possible.

ParameterE populationI population
𝜏𝑚 (ms)205
𝐶𝑚 (nF)1.00.5
𝑔𝐿 (µS)0.050.1
𝜏ref (ms)31.5
𝐸𝐿 (mV)−65−65
𝑉th (mV)−50−50
𝑉reset (mV)−65−65
𝐸𝑒 (mV, reversal)00
𝐸𝑖 (mV, reversal)−80−80

Synapse time constants: 𝜏AMPA=2 ms (excitation), 𝜏GABA=9 ms (inhibition). These set the ceiling on PING’s Δt-stability: once Δ𝑡𝜏GABA the E→I→E loop cannot complete within one step.

Internal consistency

The chosen units are self-consistent — no conversion factors appear in the integration code. Two equations carry the whole system.

The membrane time constant is 𝜏=𝐶/𝑔. With 𝐶 in nF and 𝑔 in μS,

𝜏[ms]=𝐶[nF]𝑔[𝜇S]

so 𝐶𝑚=1 nF and 𝑔𝐿=0.05 μS give 𝜏𝑚=20 ms directly.

The LIF voltage update is d𝑣=(Δ𝑡/𝐶)(𝑔𝐿(𝑣𝐸𝐿)+𝐼). With Δ𝑡 in ms, 𝐶 in nF, 𝑣,𝐸 in mV, 𝑔 in μS, and 𝐼 in nA,

d𝑣[mV]=Δ𝑡[ms]𝐶[nF]𝐼[nA]

because ms·nA / nF = mV exactly.

Conductance-current products share the same ledger: 𝑔(𝑣𝐸) is μS × mV = nA, so synaptic currents fold into 𝐼 alongside any direct input current without a scale factor.

Why not SI?

Pure SI (F, S, V, A, s) forces every value to a large negative exponent — 𝐶𝑚=109 F, 𝑔𝐿=5×108 S, Δ𝑡=2.5×104 s. The neuroscience convention (ms, mV, nF, μS, nA) keeps every typical value between 103 and 102, which makes numerical debugging and human intuition faster. The tradeoff is that readers have to trust the unit consistency rather than verify it by plugging into SI formulas — this page is here so that trust is auditable.