Signal to IBI
Convert signal to IBI data
"Signal to IBI" creates an IBI (InterBeat Interval) time series out
of the given signal. An IBI signal only contains the positions of
the signal's peaks or spikes. The data values are neglected, thus leading to
a loss of information.
- window size ws: size (in x-units) of the window to be slided
along the signal. A detailed description of this parameter can be found under Peak-to-peak intervals
- type of peaks peaktype, either
- "Maxima" (0) or
- "Minima" (1),
- crossing, determining whether a threshold crossing between peaks is
If this is turned on (1), the function only detects a peak if the
threshold line has been crossed by the signal after the
- "not checked" (0) or
- "checked" (1)
- Threshold value thresh
This function is useful e.g. for processing electrocardial
data, or other time series that focus on peak distances and the
y = Signal2IBI(x,ws,peaktype,crossing,thresh);
Note that y is an IBI signal.
IBI to Signal, Peak-to-peak intervals.