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
417 stars 113 forks source link

Passing `relative_prominence` in `rem_detect()` #151

Closed paulroujansky closed 1 year ago

paulroujansky commented 1 year ago

Hi there,

A small suggestion to pass the relative prominence used for REM peak detection instead of hardcoding the value in rem_detect() 🙂 This helps to perform hypertuning.