Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window size for EDA and HRV #46

Open
Eichhof opened this issue Nov 19, 2017 · 3 comments
Open

Window size for EDA and HRV #46

Eichhof opened this issue Nov 19, 2017 · 3 comments

Comments

@Eichhof
Copy link

Eichhof commented Nov 19, 2017

Hi there,

I'm using EDA and HRV features. I'm extracting these features for each stimulus by positioning a window at the start of the stimulus (I think including data before the stimulus does not make sense).

What window size is recommended for EDA and HRV? I've heard that for EDA the response should appear within 5 seconds.

@DominiqueMakowski
Copy link
Member

For EDA, in affective neuroscience, a window between 1 and 7 s or 1 and 5 should be ok to catch the response.

For HRV, there is no unique rule as there are like dozens of HRV indices. Again, a good start is to reproduce what was done in similar papers.

@Eichhof
Copy link
Author

Eichhof commented Nov 20, 2017

I have taken the usual features according to literature. HRV featues work much better than EDA featues (perhaps due to the sensor, I don't know). I also has to throw out a lot of the featues due to high correlation (especially for HRV).

Currently, I'm using a 10s window. When I shrink the window to 5s, accuracy drops to random level. But I still have to evaluate it separately for HRV and EDA.

Regarding the frequency domain of HRV, I'm always getting 0 for the low and very low frequency (only high frequency exists). Perhaps this is dur to the small window size of 10 sevonds.

@DominiqueMakowski
Copy link
Member

yes, you can't estimate low or very low frequency domain HRV on 10 seconds. Well, try out a few things and find out what works better ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants