yasa
yasa copied to clipboard
Question about REM density
Hello, how is rapid eye movement density calculated with YASA? After using rem_detect() and summary(), the parameter "Density" is shown, but what is the unit? Thank you!
Hi @laura-hainke,
The density parameter is the number of events per minute:
https://github.com/raphaelvallat/yasa/blob/b1e866c2d949dae2c37bda7d919d646e0f1e9780/yasa/detection.py#L220-L233
Thanks, Raphael
Thanks for clarifying, Raphael!
Probably worth adding this quickly to the documentation before closing the issue. (I'll do it.)