Neurons & Spikes · Lesson 3 of 4 · ~6 min

All or nothing

Predict

A $16$ mV stimulus fires a spike that peaks at $+30$ mV. A $30$ mV stimulus fires a spike peaking at…

Press Stimulate at $16$, then $30$ mV, and compare peak reached.
Try
Try itPress Stimulate with stimulus at $14$, $16$, $30$ and compare peak reached. Then Fire twice at gap $4$, then $8$ ms.
Notice

At $14$ mV, $V$ bumps to $-56$ mV and decays. At $16$ and $30$ mV: the same spike, peak $+30$ mV. A $4$ ms gap tags the second stimulus REFRACTORY; $8$ ms gives two spikes.

Explain

Below the $-55$ mV threshold, an input makes a passive bump that decays. At or above it, the model cell runs a fixed waveform: rise, fall, undershoot. In a real cell, spikes are nearly identical: one-bit events.

A stronger stimulus buys earlier, more frequent spikes, not taller ones. Here intensity is a rate code, capped by the $5$ ms refractory period. Spike timing can carry information too.

About this model

What it represents: the all-or-none logic of the action potential — a fixed threshold, a stereotyped waveform, a refractory period — drawn here as a stylized template.

What it leaves out: the mechanism. In a real cell the waveform is produced by voltage-gated sodium and potassium channels opening and closing, which Hodgkin and Huxley captured in a system of differential equations; here it is a canned shape. Real spike shapes also vary across neuron types, and real thresholds drift with a cell's recent history rather than sitting on one fixed line.

Source: Gerstner, Kistler, Naud and Paninski, Neuronal Dynamics, Ch. 2.2 (EPFL, free online) — the Hodgkin-Huxley model this stylized spike stands in for.

Apply
Checkpoint — prove it to yourself

What does all-or-none mean?

A $14$ mV stimulus arrives at rest. What does the trace do?

Transfer: if spike height carries no information, where does stimulus intensity live?

Key idea

In this model a spike is a fixed, all-or-none event. Intensity lives in when and how often spikes happen, not their size.

← Lesson 2