-
Notifications
You must be signed in to change notification settings - Fork 115
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
More HRV-Features #97
Comments
You're welcome! Yeah I think they really did a great job, the ECG heartbeat detection has now become by go-to method. As for more HRV features, we could certainly add them easily. My rationale for not including them was based on two reasons:
All these features can however be calculated manually through the |
that makes total sense! Maybe one compromise would be to allow giving a lambda as a kwarg, so that custom functions can be passed to
Thanks, I'll check it out, I didn't know if I could simply pass the rpeaks directly to the |
That'd be great! One possibility is to add the tutorial directly to the associated notebook: https://github.com/raphaelvallat/yasa/blob/master/notebooks/16_EEG-HRV_coupling.ipynb
I have actually never tried myself but I think it should be pretty straightforward. It will require setting up a for loop on the epochs though.
Also a great idea. I have no time to work on this now, but will leave this issue open as a reminder for my future self. Or, feel free to submit a PR 👍 |
As
sleepecg
already offers many different HRV features I was wondering if it would make sense to give access to all of them via yasa?Btw: Many thanks for including
sleepecg
in yasa, I think the 'collaboration' is a great addition! In fact we are using it right now for one of our studies exploratory analysis :)The text was updated successfully, but these errors were encountered: