Post event time histogram
Post event time histogram.
"Post event time histogram", also refered to as (event-related) averaging, or
interspike-interval histogram, generates a signal y showing the average
course of the probe signal x after a positive or negative peak (event)
in the trigger signal trig, i.e. the Post event time histogram is computed as the averaged signal of all time intervals
of the probe signal x, where is a
user-defined time delay, and is the time equivalent to
the i-th peak of the trigger signal.
- window size (time interval) in x-axis units ws
For a detailed description of this parameter, refer to Peak-to-peak intervals.
- peaktype, the type of peaks, which is either
- "Maxima" (0) or
- "Minima" (1)
- crossing, determinig the choice whether a threshold
crossing between peaks is
- "not checked" (0) or
- "checked" (1)
- threshold thresh for the detection of peaks
- time delay tau (see above)
To get proper results, the algorithm should only be applied to stationary time series.
It is possible to trigger the averaging of a signal by its own peaks by creating a copy of it (e.g. by adding a constant 0 to the signal (Add constant) or by rescaling it with a factor 1 (Rescale)) and using these "twins" as input signals x and trig, respectively.
Post event time histogram is used e.g. for the analysis of evoked potentials in EEGs.
float thresh, tau;
Peak-to-peak intervals, Post event scan.