SleepEEGpy: a Python-based package for the preprocessing, analysis, and visualization of sleep EEG data
Belonosov, G.; Falach, R.; Schmidig, F. J.; Aderka, M.; Zhelezniakov, V.; Shani-Hershkovich, R.; Bar, E.; Nir, Y.
Show abstract
Sleep research uses electroencephalography (EEG) to infer brain activity in health and disease. Beyond standard sleep scoring, there is increased interest in advanced EEG analysis that require extensive preprocessing to improve the signal-to-noise ratio, and dedicated analysis algorithms. While many EEG software packages exist, sleep research has specific needs that require dedicated tools (e.g. particular artifacts, event detection). Currently, sleep investigators use different libraries for specific tasks in a fragmented configuration that is inefficient, prone to errors, and requires the learning of multiple software environments. This leads to a high initial complexity, creating a crucial barrier for beginners in sleep research. Here, we present SleepEEGpy, an open-source Python software "wrapper" package to facilitate sleep EEG data preprocessing and analysis. SleepEEGpy builds upon MNE-Python, YASA, and SpecParam tools to provide an all-in-one, beginner-friendly package for comprehensive yet straightforward sleep EEG research including (i) cleaning, (ii) independent component analysis, (iii) detection of sleep events, (iv) analysis of spectral features, and associated visualization tools. A dashboard visualization tool provides an overview to evaluate data and its preprocessing, which can be useful as an initial step prior to detailed analysis. We demonstrate the SleepEEGpy pipeline and its functionalities by applying it to overnight high-density EEG data in healthy participants, revealing multiple characteristic activity signatures typical of each vigilance state. These include alpha oscillations in wakefulness, sleep spindle and slow wave activities in NREM sleep, and theta activity in REM sleep. We hope that this software will be embraced and further developed by the sleep research community, and constitute a useful entry point tool for beginners in sleep EEG research.
Matching journals
The top 9 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Corticothalamic modelling of sleep neurophysiology with applications to mobile EEG 95%
- A foundational transformer leveraging full night, multichannel sleep study data accurately classifies sleep stages 95%
- Evaluation of Dreem headband for sleep staging and EEG spectral analysis in people living with Alzheimer’s and older adults 95%
Similar papers in this journal
- Automated real-time EEG sleep spindle detection for brain state-dependent brain stimulation 97%
- The potential of ensemble-based automated sleep staging on single-channel EEG signal from a wearable device 95%
- Targeted memory reactivation during post-learning sleep does not enhance motor memory consolidation in older adults 94%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.