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

Add the transition frequency as slow-waves parameters #47

Closed raphaelvallat closed 2 years ago

raphaelvallat commented 2 years ago

From Bouchard et al 2021:

We calculated the transition frequency extracted from the filtered slow wave in the delta band. For each slow wave, the transition frequency characterizes the half-wave associated with the depolarization transition. If t denotes the delay of the transition from the maximum negative point to the maximum positive point of the slow wave, then the transition frequency is defined as f=1/(2t).