, peristimulus time histogram
and poststimulus time histogram
, both abbreviated PSTH
or PST histogram
, are histograms
of the times at which neurons fire. These histograms are used to visualize the rate and timing of neuronal spike discharges in relation to an external stimulus or event. The peristimulus time histogram is sometimes called perievent time histogram
, and post-stimulus
are often hyphenated
The prefix peri, for through, is typically used in the case of periodic stimuli, in which case the PSTH show neuron firing times wrapped to one cycle of the stimulus. The prefix post is used when the PSTH shows the timing of neuron firings in response to a stimulus event or onset.
To make a PSTH, a spike train recorded from a single neuron is aligned with the onset, or a fixed phase point, of an identical stimulus repeatedly presented to an animal. The aligned sequences are superimposed in time, and then used to construct a histogram.
- Align spike sequences with the onset of stimuli that repeated n times. For periodic stimuli, wrap the response sequence back to time zero after each time period T, and count n as the total number of periods of data.
- Divide the stimulus period or observation period T into N bins of size .
- Count the number of spikes ki from all n sequences that fall in the bin i.
- Draw a bar-graph histogram with the bar-height of bin i given by in units of estimated spikes per second at time .