Closed Hockey86 closed 3 years ago
Hi @Hockey86,
Thanks for opening the issue. So just to clarify, it is in units of standard deviation, and not in unit of absolute voltage:
Now I think you're right that the min(thresh_rms, 10)
is somewhat arbitrary, and we might as well remove it and just keep the original thresh_rms.
Raphael
https://github.com/raphaelvallat/yasa/blob/4b5973bfcf92788f080e3ca05bc2aa1402df8865/yasa/main.py#L660 It uses absolute voltage 10 which does not apply to other scenarios. Suggest it to be removed, since you already can specify
hypno
andinclude
in yasa.spindles_detect.