neuropsychology / NeuroKit.py

A Python Toolbox for Statistics and Neurophysiological Signal Processing (EEG, EDA, ECG, EMG...).
http://neurokit.rtfd.io
MIT License
365 stars 102 forks source link

Linear Trend in EDA #75

Open Eichhof opened 6 years ago

Eichhof commented 6 years ago

Hey

Do you know if the cvxEDA algorithm already removes linear trends? I think linear trends should not be a problem for phasic components but for tonic components.

Or else should we detrend the raw EDA data before running cvxEDA?

DominiqueMakowski commented 6 years ago

@Eichhof It does implement some form of trend correction (I believe it's more complex than a simple linear detrend tho). This algorithm was built and tested on raw data.

Eichhof commented 6 years ago

Thanks for your answer. So you mean cvxEDA or your library implements some form of trend correction?

DominiqueMakowski commented 6 years ago

I mean that the cvxEDA algorithm (present in neurokit but mostly copied from here) does itself everything necessary and can be used with raw data