
NeuroNexus · neuronexus.com · Glossary
PSTH and Raster Plot
A peri-stimulus time histogram (PSTH), also called a post-stimulus time histogram, is the count of a unit's spikes in fixed time bins aligned to a stimulus or behavioral event and averaged across trials. A raster plot draws the same spike times as ticks, one row per trial, without averaging.
Divided by the number of trials and the bin width, the histogram provides an estimate of firing rate as a function of time from the event. The latency, duration, and magnitude of a response are typically measured from it. The raster plot shows whether spike timing is precise, variable, or drifting across trials, which the average does not show.
Two limitations are important. Trial averaging reduces the effect of trial-to-trial variability, but it also removes single-trial information. In addition, binning discards spike timing within a bin, so the bin width (typically 1 to 50 ms) sets the temporal precision of any measurement taken from the histogram (Quian Quiroga & Panzeri (2009)).
Both views require the unit's spike train and the event times on a common clock. In practice, the event stream and the neural stream should be timestamped by the same data acquisition system, through its GPIO inputs. In Radiens, a PSTH accumulates live in Allego and is available afterwards in Videre.
Typical values
| Bin width, typical | 1 to 50 ms |
|---|---|
| Estimates | trial-averaged firing rate against time from the event |
| Raster | one row per trial; no averaging |
| Requirement | event times and spikes on one clock |
Related Terms
Cite this term
NeuroNexus. "PSTH and Raster Plot." NeuroNexus Glossary, updated 2026-11-10. https://www.neuronexus.com/resources/glossary/psth