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 EEG-HRV coupling notebook #89

Closed raphaelvallat closed 2 years ago

raphaelvallat commented 2 years ago

Closes https://github.com/raphaelvallat/yasa/issues/82

@remrama any chance that you could review this notebook, which uses the yasa.hrv_stage function from https://github.com/raphaelvallat/yasa/pull/68? Just let me know if you don't have the time for this right now, in which case I'll just merge.

Thank you so much! Raphael

codecov-commenter commented 2 years ago

Codecov Report

Merging #89 (85c7cee) into master (65f033f) will increase coverage by 0.04%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   90.95%   91.00%   +0.04%     
==========================================
  Files          22       22              
  Lines        2676     2690      +14     
==========================================
+ Hits         2434     2448      +14     
  Misses        242      242              
Impacted Files Coverage Δ
yasa/heart.py 87.50% <ø> (ø)
yasa/tests/test_spectral.py 100.00% <0.00%> (ø)
yasa/plotting.py 97.09% <0.00%> (+0.14%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 65f033f...85c7cee. Read the comment docs.

remrama commented 2 years ago

Yep @raphaelvallat I'll take a look by the end of the week!

raphaelvallat commented 2 years ago

Awesome, thanks for the review @remrama!