Signal to IBI
Purpose
Description
Example
Macro Synopsis
Modules
Related Functions
Purpose
Convert signal to IBI data
Description
"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.
Parameters:
- 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
- "not checked" (0) or
- "checked" (1)
If this is turned on (1), the function only detects a peak if the
threshold line has been crossed by the signal after the
previous peak.
- Threshold value thresh
Example
This function is useful e.g. for processing electrocardial
data, or other time series that focus on peak distances and the
occurring rhythms.
Macro Synopsis
y = Signal2IBI(x,ws,peaktype,crossing,thresh);
signal x,y;
float ws;
option peaktype,crossing;
float thresh;
Note that y is an IBI signal.
Modules
Student, Professional
Related Functions
IBI to Signal, Peak-to-peak intervals.