raphaelvallat / yasa

YASA (Yet Another Spindle Algorithm): a Python package to analyze polysomnographic sleep recordings.
https://raphaelvallat.com/yasa/
BSD 3-Clause "New" or "Revised" License
428 stars 115 forks source link

Add notebook on EEG-HRV coupling #82

Closed raphaelvallat closed 2 years ago

raphaelvallat commented 2 years ago

Related to https://github.com/raphaelvallat/yasa/pull/68

I think a good use case of the new yasa.hrv_stage function is to calculate the overnight correlation (coupling) between the EEG power and the HRV. This can now be done in just a few lines of code.

e.g. Mikutta 2021, Co-ordination of brain and heart oscillations during non-rapid eye movement sleep