TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
GSR_feat_peaks.m File Reference

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)
 

Detailed Description

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 Documentation

◆ GSR_feat_peaks()

function GSR_feat_peaks ( in  GSRsignal,
in  ampThresh 
)
Parameters
GSRsignalthe GSR signal.
ampThreshthe amplitude threshold in Ohms from which a peak is detected. Default is 100 Ohm
Return values
nbPeaksthe # 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
Author
Copyright XXX 2011
Copyright Frank Villaro-Dixon, 2014