Neuroscience · Unit 7: Evidence and disease
Recording Many Neurons: Imaging, Arrays and Atlases
Modern neuroscience records thousands of neurons at once, sorts millions of cells into types and traces the wiring of whole volumes of brain. This lesson asks what each of those measurements actually reports: calcium imaging, high-density electrode arrays, transcriptomic atlases and electron-microscopy connectomes. Afterwards you can compute a neuropil-corrected ΔF/F0, count the real sample size in a recording dataset, and say what an atlas or a connectome can and cannot tell you about a circuit.
Watch first Recorded Is Not Counted · 2:48
In one awake mouse, the MICrONS Consortium recorded calcium signals from around 75,000 neurons in visual cortex, then reconstructed the same tissue by electron microscopy: more than 200,000 cells and half a billion synapses.
That is a long way from one electrode in one cell. But every number in that sentence is a measurement of something other than what you might assume. A calcium signal is not a spike, a sorted unit is not certainly a neuron, 75,000 neurons are not 75,000 replicates, and a synapse in an electron micrograph is not a strength. This lesson takes each large-scale method in turn and asks what it actually reports.
A calcium signal is light that follows spikes at a distance
When a neuron fires an action potential, voltage-gated calcium channels open and calcium in the cell body rises for a while after the spike. A genetically encoded sensor turns that rise into light. GCaMP is one protein made of three parts: a circularly permuted green fluorescent protein, whose ends have been reopened near the light-emitting chromophore; calmodulin, the calcium-binding protein you met in calcium signaling; and M13, a short peptide that calmodulin grips once it has bound calcium. Calcium binding changes the conformation, and the barrel brightens. How the sensor is delivered, by virus or by a transgenic mouse line, belongs to hacking the cell, and how a two-photon microscope collects the light belongs to microscopy and images.
So the signal is three steps from a spike: spike, calcium, fluorescence. Think of it as reading a kettle’s steam to infer when the stove was switched on. Activity is reported as a fractional change from baseline:
ΔF/F0 = (F − F0) / F0
There is a catch. Around each cell body lies neuropil, the dense tangle of axons, dendrites and glial processes, which also glows. Light from it leaks into any region you draw around a soma. The usual fix subtracts a scaled copy of the surrounding signal:
F_corrected = F_soma − r × F_neuropil
Worked problem. These numbers are invented for practice. A soma region reads 500 at baseline and 620 at the peak (arbitrary units). The ring of neuropil around it reads 300 and 330.
Step 1: no correction. ΔF/F0 = (620 − 500)/500 = 120/500 = 0.24.
Step 2: subtract neuropil. Take r = 0.8, the default that Huang and colleagues (2021) used in mouse visual cortex. It is not a universal constant; they adjusted it for some cells. Then F0 = 500 − 0.8 × 300 = 500 − 240 = 260, and F = 620 − 0.8 × 330 = 620 − 264 = 356.
Step 3: recompute. ΔF/F0 = (356 − 260)/260 = 96/260 = 0.37.
The correction raised the response by half, because the dim neuropil had been inflating the baseline. Assumptions: r is the same at baseline and peak, and the neuropil ring samples the same contaminating light as the soma.
How many spikes does a ΔF/F0 mean? Only a calibration against an electrical recording in the same conditions can say. Chen and colleagues (2013) recorded spikes with a loose-seal cell-attached pipette, which sits on the outside of one neuron and records its spikes without breaking in, while imaging the same cell. In layer 2/3 pyramidal neurons of mouse primary visual cortex, with virally expressed GCaMP6s and high-magnification imaging, they detected 99 ± 0.2% of isolated spikes at a 1% false-positive rate, in nine cells. Huang and colleagues (2021) did the same in transgenic GCaMP6s and GCaMP6f mice, then downsampled their movies to mimic population imaging. A detector tuned to each neuron’s known spike times then caught only about 16 to 43% of single spikes on average, depending on the mouse line, and standard blind spike inference often caught fewer than 10%, even before downsampling. Downsampling mimics a larger field of view, which spreads the same imaging time over more pixels and so collects fewer photons from each neuron. The spike-to-fluorescence relation also differs from one neuron to the next. GCaMP6s decays slowly, the fast GCaMP6 variants trade sensitivity for speed, and the jGCaMP8 sensors (Zhang and colleagues, 2023) respond more linearly than earlier GCaMPs. None of them reports voltage, and a flat trace does not prove a silent cell.
Listening to many neurons: sites, channels and units
An extracellular electrode sits outside cells and picks up the small voltage changes that nearby spikes cause in the surrounding fluid, unlike the intracellular recordings in the resting membrane and passive signals. It loses the membrane potential but keeps millisecond timing.
The original Neuropixels probe (Jun and colleagues, 2017) carried 960 recording sites on one shank but could address 384 of them at a time, and it digitized the action-potential band at 30 kHz, 30,000 voltage samples per second. That is a sampling rate, not a firing rate. With two probes in an awake mouse the team recorded more than 700 well-isolated neurons at once across five brain structures.
Neurons are not read off sites. Spike sorting software detects spikes and groups them into units by the shape of each spike and the sites where it appears. One neuron shows up on several neighbouring sites; one site hears several neurons. A unit can merge two neurons or split one, and the Allen Institute’s documentation for its Neuropixels survey warns that spikes from different neurons can be mixed in one unit, and it does not separate single-unit from multi-unit activity. Treat each unit as an inference with quality scores.
The two methods trade against each other. Imaging tells you which cell, where, and often its genetic type, but it is slow and indirect. Probes give spike timing across many regions, as in the Allen survey of six cortical and two thalamic visual areas in mice (Siegle and colleagues, 2021), but the identity of each unit is uncertain. The codes these populations carry are the subject of sensory coding and the visual cortex.
How many samples do you really have?
Large datasets are nested: trials within units, units within sessions, sessions within animals. Observations inside one level share its conditions, so they are not independent. Counting them as if they were is pseudoreplication (Lazic, 2010). Lazic described averaging within each subject as one way to keep subjects as the units of analysis; hierarchical (mixed-effects) models are another.
Worked problem. This dataset is invented. Two mice, A and B, each have two sessions. In each session the same stimulus is shown four times, and spikes are counted in a 0.25 s window per presentation. Each unit appears in one session only.
- Mouse A, session 1: U1 (1, 2, 3, 2) and U2 (0, 0, 1, 1)
- Mouse A, session 2: U3 (1, 1, 1, 1) and U4 (2, 2, 2, 2)
- Mouse B, session 3: U5 (0, 1, 0, 1)
- Mouse B, session 4: U6 (1, 0, 1, 0)
Step 1: count. 6 units, 4 sessions, 2 animals, 6 × 4 = 24 unit-trials, but only 4 × 4 = 16 stimulus presentations, because units recorded together share the same presentations.
Step 2: rates. Each unit is watched for 4 × 0.25 s = 1 s. U1 fired 1 + 2 + 3 + 2 = 8 spikes, so 8 spikes/s. The six rates are 8, 2, 4, 8, 2 and 2 spikes/s.
Step 3: pooled rate. 26 spikes over 6 unit-seconds = 4.33 spikes/s.
Step 4: weight each animal equally. Session 1 averages (8 + 2)/2 = 5 and session 2 averages (4 + 8)/2 = 6, so mouse A = 5.5 spikes/s. Sessions 3 and 4 each give 2, so mouse B = 2 spikes/s. The animal mean is (5.5 + 2)/2 = 3.75 spikes/s.
The pooled rate is higher because mouse A supplied twice the units. For a claim about mice, n = 2, not 24. Report the hierarchy (animals, sessions, units, trials) and say which level your question is about.
- Mean at this level
- n at this level
- Pooled rate (all units)
- Animal mean (mice weighted equally)
In this sketch: invented counts (spikes in 0.25 s windows, four presentations per session), each unit in one session only, means without spread.
Counting units or trials as independent is pseudoreplication (Lazic, 2010); averaging within animals, or a mixed-effects model, keeps the animal as the unit. Say which level the question is about.
Atlases and connectomes: parts lists and wiring diagrams
A transcriptomic atlas sorts cells by the RNA they express. Yao, Zeng and colleagues (2023) profiled around seven million cells from the adult mouse brain; about four million passed quality control and fell into 5,322 clusters. A spatial dataset of about 4.3 million cells, measured by MERFISH with a 500-gene panel in one male mouse brain, placed the clusters in the anatomy, and transcriptomic identity and location matched to a high degree. The sequencing itself is taught in sequencing and genomes. The authors cautioned that not every cluster may be a true cell type, and that dissociation probably depletes large, fragile neurons. A cluster is a molecular category, not a measured function.
A connectome is a synapse-by-synapse wiring diagram. FlyWire (Dorkenwald and colleagues, 2024) reconstructed 139,255 neurons and 54.5 million chemical synapses from serial-section electron micrographs of one adult female Drosophila brain. A connection from neuron A to B is the set of A’s synapses onto B. Electrical synapses are absent, and some connections of only a few synapses were missed. Some models built on it assume that strength is proportional to synapse count; that is an assumption, not a measurement.
MICrONS (2025) joined function and structure in one animal: calcium imaging of excitatory neurons expressing GCaMP6s across primary and higher visual areas of one mouse, then an electron-microscopy reconstruction of the same volume. Responses and wiring can be compared cell by cell, but still in one mouse and one cubic millimetre.
What none shows alone
Each method answers a different question. Imaging says which cells changed their calcium; probes say when units spiked; atlases say what molecular kinds of cells exist and where; connectomes say who could talk to whom. None is human, none is a complete brain map with activity and strengths, and none shows that a pathway is needed for a behaviour. That takes a manipulation, the subject of designing a circuit experiment.
Design problem
A lab images 400 neurons in mouse V1 in three mice with GCaMP6s at 30 frames per second over a wide field of view. It reports that 60% of the neurons “did not fire” to a visual stimulus, and cites the connectome of a different mouse showing few thalamic synapses onto those cell types. Critique the claims and redesign the study.
One way to do it
The imaging claim. No fluorescence change is not the same as no spikes. Under wide-field, population-like conditions, single-spike detection with GCaMP6 was only a minority in Huang’s calibration, often under 10% with blind spike inference. Calibrate in this preparation: record cell-attached spikes from a sample of neurons while imaging at the same field of view and frame rate, and report detection and false-positive rates. Or record the same area with a Neuropixels probe, which catches sparse spikes with millisecond timing.
The statistics. The 400 neurons come from three mice, so n = 3 for any claim about mice. Report the fraction per mouse and add animals.
The anatomy. The connectome is from one other animal, contains chemical synapses only, and counts synapses rather than measuring strength. Few synapses do not mean weak drive. Either register function and structure in the same tissue, imaging first and reconstructing afterward as MICrONS did, or test the input directly: stimulate the thalamic afferents, for example optogenetically, and record the V1 neurons’ responses with calibrated imaging or a probe.
How we measure it
Two-photon calcium imaging
A genetically encoded sensor such as GCaMP is expressed in neurons, and a two-photon laser scans the tissue to measure each cell's fluorescence over time. It reports calcium, which rises after spikes, for hundreds or thousands of identified cells, but spike times must be inferred through a calibrated model.
High-density extracellular recording and spike sorting
A silicon probe such as Neuropixels records voltage from hundreds of sites along a shank. Spike-sorting software detects spikes and groups them into units by waveform and position, giving millisecond timing across many brain regions, with each unit an inference rather than a confirmed single neuron.
Single-cell RNA sequencing and spatial transcriptomics
Dissociated cells are sequenced one by one and clustered by gene expression; an imaging method such as MERFISH then measures a chosen gene panel in intact sections to place the clusters in the anatomy.
Serial-section electron microscopy connectomics
Tissue is cut into thousands of thin sections, each is imaged by electron microscope, and software with human proofreading traces neurons and marks chemical synapses through the stack. The result is a wiring diagram of one piece of tissue from one animal, with no record of activity.
Finish line
Test yourself
8 questions
Practice and MCAT-style, with explained answers.
Next · Lesson 28
Designing a Causal Circuit Experiment
Light alone changed firing and turning behaviour in mice with no opsin at all. What does your light-on versus light-off comparison actually show?
Continue →