Skip to content

v0.4.0

Compare
Choose a tag to compare
@raphaelvallat raphaelvallat released this 04 Nov 18:07
· 135 commits to master since this release

This is a major release with several new functions, the biggest of which is the addition of an automatic sleep staging module (yasa.SleepStaging). This means that YASA can now automatically score the sleep stages of your raw EEG data. The classifier was trained and validated on more than 3000 nights from the National Sleep Research Resource (NSRR) website.

Briefly, the algorithm works by calculating a set of features for each 30-sec epochs from a central EEG channel (required), as well as an EOG channel (optional) and an EMG channel (optional). For best performance, users can also specify the age and the sex of the participants. Pre-trained classifiers are already included in YASA. The automatic sleep staging algorithm requires the LightGBM and entropy package.

For more details, please see: https://raphaelvallat.com/yasa/build/html/changelog.html