Johan George Varghese

The engine: methods

What you see is not an animation. Each neuron is a branched cable, cut into compartments small enough for the cable equation to hold, with channels in the soma and axon that open and close by Hodgkin–Huxley kinetics. About a hundred thousand background synapses stand for the rest of the cortex. Gold is membrane voltage; red and blue are spikes and synapses, by the type of the cell that sends them.

← The engine, live

Methods

The cable

Each neuron is its drawing, read in micrometres and cut into compartments no longer than a tenth of the length constant at 100 Hz (the d_lambda rule). Each compartment obeys the cable equation, solved implicitly with Hines elimination at a 0.025 ms step, as NEURON does. Membrane capacitance is 0.9 µF/cm², axial resistivity 150 Ω·cm, membrane resistivity 30 kΩ·cm². Spines double the membrane of pyramidal dendrites.

C dV/dt = −g_L (V − E_L) − Σ g_ion (V − E_ion) − Σ g_syn (V − E_syn) + Σ g_ax (V′ − V)

Channels

Sodium and potassium in the soma, the initial segment and the axon, with the Traub kinetics of Pospischil et al. (2008), and an M-current in pyramidal somata, which makes them adapt. The initial segment carries five times the soma’s sodium, so spikes start there, 18 to 29 µm from the soma; in real pyramidal cells they start in a zone centred 20 to 40 µm out (Popovic et al. 2011). Dendrites are passive.

I_Na = g_Na m³h (V − E_Na), I_K = g_K n⁴ (V − E_K), I_M = g_M p (V − E_K)

Synapses

AMPA and GABA-A receptors are two-state kinetic models (Destexhe et al. 1994): each release holds transmitter for a millisecond, and the receptors open and close by first-order rates. The circuit’s synapses depress (Tsodyks and Markram 1997), each with its own release probability, and their strength is set so the median unitary EPSP is 1.3 mV, as Markram et al. (1997) measured.

dr/dt = α [T] (1 − r) − β r, release = U · x, dx/dt = (1 − x) / τ_rec

The background

The rest of the cortex arrives as explicit synapses: on a pyramidal cell, one per spine plus a tenth more on shafts, 11% of them inhibitory, and on the interneuron, 3.8 per micrometre of dendrite. They fire in weakly correlated trains through Destexhe’s distributed generator. Their rates are tuned so input resistance falls three to four times, each pyramidal cell fires irregularly between 0.3 and 3 Hz, and the interneuron fires faster.

N₂ = N + (1 − N) √c shared Poisson trains for N synapses

Light

Channelrhodopsin-2 follows the four-state model of Nikolic et al. (2009), with the rates Foutz et al. (2012) used in a pyramidal cell: it peaks, then settles to a smaller steady current, and closes with two time constants. Halorhodopsin is a light-gated current that reverses near −400 mV (Seki et al. 2007).

dO₁/dt = K_a1 C₁ − (K_d1 + e₁₂) O₁ + e₂₁ O₂

What it leaves out

Dendrites are passive, so each cell sums its inputs and thresholds them once. There are no NMDA receptors. Each cell releases one transmitter. The interneuron’s spikes are wider than real fast-spiking spikes, since the model has no Kv3 channels, and under the background it fires at about 120 Hz, where fast-spiking cells in awake mice average 8 to 17 Hz (Yu et al. 2019). Every value, its source and each simplification are logged with the code.

Results

What the papers say the circuit should do, and what it does: computed by the calibration, and checked at every build.

CheckTargetModelHolds
Unitary EPSP
Markram et al. 1997
0.15–5.5 mV, median near 1.3 mV 0.20–1.58 mV, median 1.31 mV yes
Synaptic latency
Markram et al. 1997
1.7 ± 0.9 ms 1.49 ± 0.82 ms yes
Conduction velocity
Sakai et al. 2015; Hodgkin 1954
0.1–1 m/s 0.34–0.40 m/s yes
Input resistance with background
Destexhe & Paré 1999
3–8× lower than without (pyramidal) 3.4–3.7× lower yes
Resting firing, pyramidal
de Kock & Sakmann 2009
each inside 0.3–3 Hz 0.40–2.49 Hz yes
The interneuron
Gentet et al. 2010
faster than every pyramidal cell 119.3 Hz yes
Driven firing
de Kock & Sakmann 2009
≤14 Hz up to 12.0 Hz yes
The circuit under bombardment
Destexhe & Paré 1999
still passes spikes a presynaptic spike gained its target a spike within 20 ms in 16 trials and cost one in 1 (paired runs on one background, p = 0.00014); 5 of 8 connections net positive yes
Visual engine: firing
engine-spec.md §7
each neuron within ±30% of the real engine -6–4% yes
Visual engine: the pointer
engine-spec.md §7
each pyramidal cell within ±30% of the real engine -9–5% yes
Light: ChR2
Nagel et al. 2003; Nikolic et al. 2009
peaks, then a smaller steady current; drives the cells it covers peak 1.062× steady; 0.6 mW/mm² fires the pyramidal cells at 4.5–14.3 Hz yes
Light: halorhodopsin
Han & Boyden 2007; Zhang et al. 2007
silences the cells it covers 0.00–0.00 Hz under the spot, from 0.28–2.35 Hz yes
Visual engine: light
engine-spec.md §7
each pyramidal cell under ChR2 within ±30% of the real engine -5–11% yes
Membrane area
Larkman et al. 1992
27,100–52,200 µm² (pyramidal) 27300–43284 µm² yes

Sources

  1. Destexhe A, Mainen ZF, Sejnowski TJ (1994). Synthesis of models for excitable membranes, synaptic transmission and neuromodulation using a common kinetic formalism. J Comput Neurosci 1:195–230.
  2. Destexhe A, Paré D (1999). Impact of network activity on the integrative properties of neocortical pyramidal neurons in vivo. J Neurophysiol 81:1531–1547.
  3. Foutz TJ, Arlow RL, McIntyre CC (2012). Theoretical principles underlying optical stimulation of a channelrhodopsin-2 positive pyramidal neuron. J Neurophysiol 107:3235–3245.
  4. Gulyás AI, Megías M, Emri Z, Freund TF (1999). Total number and ratio of excitatory and inhibitory synapses converging onto single interneurons of different types in the CA1 area of the rat hippocampus. J Neurosci 19:10082–10097.
  5. Hines M (1984). Efficient computation of branched nerve equations. Int J Biomed Comput 15:69–76.
  6. Kole MHP, Ilschner SU, Kampa BM, Williams SR, Ruben PC, Stuart GJ (2008). Action potential generation requires a high sodium channel density in the axon initial segment. Nat Neurosci 11:178–186.
  7. Larkman AU, Major G, Stratford KJ, Jack JJ (1992). Dendritic morphology of pyramidal neurones of the visual cortex of the rat. IV: Electrical geometry. J Comp Neurol 323:137–152.
  8. Mainen ZF, Sejnowski TJ (1996). Influence of dendritic structure on firing pattern in model neocortical neurons. Nature 382:363–366.
  9. Markram H, Lübke J, Frotscher M, Roth A, Sakmann B (1997). Physiology and anatomy of synaptic connections between thick tufted pyramidal neurones in the developing rat neocortex. J Physiol 500:409–440.
  10. Nikolic K, Grossman N, Grubb MS, Burrone J, Toumazou C, Degenaar P (2009). Photocycles of channelrhodopsin-2. Photochem Photobiol 85:400–411.
  11. Popovic MA, Foust AJ, McCormick DA, Zecevic D (2011). The spatio-temporal characteristics of action potential initiation in layer 5 pyramidal neurons: a voltage imaging study. J Physiol 589:4167–4187.
  12. Pospischil M, Toledo-Rodriguez M, Monier C, Piwkowska Z, Bal T, Frégnac Y, Markram H, Destexhe A (2008). Minimal Hodgkin–Huxley type models for different classes of cortical and thalamic neurons. Biol Cybern 99:427–441.
  13. Seki A, Miyauchi S, Hayashi S, et al. (2007). Heterologous expression of pharaonis halorhodopsin in Xenopus laevis oocytes and electrophysiological characterization of its light-driven Cl⁻ pump activity. Biophys J 92:2559–2569.
  14. Tsodyks MV, Markram H (1997). The neural code between neocortical pyramidal neurons depends on neurotransmitter release probability. PNAS 94:719–723.
  15. Yu J, Hu H, Agmon A, Svoboda K (2019). Recruitment of GABAergic interneurons in the barrel cortex during active tactile behavior. Neuron 104:412–427.
  16. de Kock CP, Sakmann B (2009). Spiking in primary somatosensory cortex during natural whisking in awake head-restrained rats is cell-type specific. PNAS 106:16446–16450.