TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
|
Computes the number of peaks from a GSR signal. It is based on the analysis of local minima and local maxima preceding the local minima. More...
Go to the source code of this file.
Functions | |
function | GSR_feat_peaks (in GSRsignal, in ampThresh) |
Computes the number of peaks from a GSR signal. It is based on the analysis of local minima and local maxima preceding the local minima.
Definition in file GSR_feat_peaks.m.
function GSR_feat_peaks | ( | in | GSRsignal, |
in | ampThresh | ||
) |
GSRsignal | the GSR signal. |
ampThresh | the amplitude threshold in Ohms from which a peak is detected. Default is 100 Ohm |
nbPeaks | the # of peaks in the signal |
ampPeaks | [1xP]: the amplitude of the peaks (maxima - minima) |
riseTime | [1xP]: the duration of the rise time of each peak |
posPeaks | [1xP]: index of the detected peaks in the GSR signal |