Gijom / TEAP

Toolbox for Emotion Analysis using Physiological signals
http://www.teap.science/
GNU General Public License v3.0
57 stars 20 forks source link

Update GSR_feat_extr.m #16

Closed cheulyop closed 4 years ago

cheulyop commented 4 years ago

Just a minor change as the original code for calculating the number of GSR peaks per second was incorrect with nbPeaks = nbPeaks/(length(GSRsignal)/samprate); since length(GSRsignal) always equals 1.

It should be nbPeaks = nbPeaks/(length(GSRsignal.raw)/samprate); to get the correct number.

Gijom commented 4 years ago

Many thanks for spotting that bug ! This is now included in master.