Open-Source Algorithm for Automated Vigilance State Classification Using Single-Channel Electroencephalogram in Rodents

Accurate identification of sleep stages is essential for understanding sleep physiology and its role in neurological and behavioral research. Manual scoring of polysomnographic data, while reliable, is time-intensive and prone to variability. This study presents a novel Python-based algorithm for automated vigilance state scoring using single-channel electroencephalogram (EEG) recordings from rats and mice. The algorithm employs artifact processing, multi-band frequency analysis, and Gaussian mixture model (GMM)-based clustering to classify wakefulness, non-rapid, and rapid eye movement sleep (NREM and REM sleep, respectively). Combining narrow and broad frequency bands across the delta, theta, and sigma ranges, it uses a majority voting system to enhance accuracy, with tailored preprocessing and voting criteria improving REM detection. Validation on datasets from 10 rats and 10 mice under standard conditions showed sleep-wake state detection accuracies of 92% and 93%, respectively, closely matching manual scoring and comparable to existing methods. REM sleep detection accuracies of 89% (mice) and 91% (rats) align with previously reported (85-90%). Processing a full day of EEG data within several minutes, the algorithm is advantageous for large-scale and longitudinal studies. Its open-source design, flexibility, and scalability make it a robust, efficient tool for automated rodent sleep scoring, advancing research in standard experimental conditions, including aging and sleep deprivation.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2025-02-03
DOI
https://doi.org/10.3390/s25030921
Citations
1
Primary Topic
Sleep and Wakefulness Research
Type
article
Field-Weighted Citation Impact
1.43
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Open-Source Algorithm for Automated Vigilance State Classification Using Single-Channel Electroencephalogram in Rodents

P. O. Kosenko, Natalia Suntsova, A. Kostin, Anton Saevskiy et al.
1 citations
Sensors
Sleep and Wakefulness Research
1.43
article

Open-Source Algorithm for Automated Vigilance State Classification Using Single-Channel Electroencephalogram in Rodents

P. O. Kosenko, Natalia Suntsova, A. Kostin, Anton Saevskiy, Md. Noor Alam
article en
1 citations

Abstract

Accurate identification of sleep stages is essential for understanding sleep physiology and its role in neurological and behavioral research. Manual scoring of polysomnographic data, while reliable, is time-intensive and prone to variability. This study presents a novel Python-based algorithm for automated vigilance state scoring using single-channel electroencephalogram (EEG) recordings from rats and mice. The algorithm employs artifact processing, multi-band frequency analysis, and Gaussian mixture model (GMM)-based clustering to classify wakefulness, non-rapid, and rapid eye movement sleep (NREM and REM sleep, respectively). Combining narrow and broad frequency bands across the delta, theta, and sigma ranges, it uses a majority voting system to enhance accuracy, with tailored preprocessing and voting criteria improving REM detection. Validation on datasets from 10 rats and 10 mice under standard conditions showed sleep-wake state detection accuracies of 92% and 93%, respectively, closely matching manual scoring and comparable to existing methods. REM sleep detection accuracies of 89% (mice) and 91% (rats) align with previously reported (85-90%). Processing a full day of EEG data within several minutes, the algorithm is advantageous for large-scale and longitudinal studies. Its open-source design, flexibility, and scalability make it a robust, efficient tool for automated rodent sleep scoring, advancing research in standard experimental conditions, including aging and sleep deprivation.

SensorsVol. 25(3)
Southern Federal University (RU), University of California, Los Angeles (US), VA Greater Los Angeles Healthcare System (US)
Openalex Percentile: Top 23%
Sleep and Wakefulness Research
1.43
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.