Journal of Sleep ResearchNeurosciencePeer-reviewed journal article
Automated real-time EEG sleep spindle detection for brain state-dependent brain stimulation
Abstract
Sleep spindles are a hallmark electroencephalographic (EEG) feature of non-rapid eye movement (NREM) sleep and believed to be instrumental for sleep-dependent memory reactivation and consolidation. However, direct proof of their causal relevance is hard to obtain, and our understanding of their immediate neurophysiological consequences is limited. To investigate their causal role, spindles need to be targeted in real-time with sensory or non-invasive brain stimulation techniques. While fully automated offline detection algorithms are well established, spindle detection in real time is highly challenging due to their spontaneous and transient nature. Here, we present the real-time spindle detector (RTSD), a robust multi-channel EEG signal processing algorithm that enables the automated triggering of stimulation during sleep spindles in a phase-specific manner. We validated the RTSD method by streaming pre-recorded sleep EEG datasets to a real-time computer system running a Simulink(R) Real-Time implementation of the algorithm. Sleep spindles were detected with high levels of sensitivity ([~]83%) and precision ([~]78%) and an F1-score of [~]0.81 in reference to state-of-the-art offline algorithms (which reached similar levels when compared to each other), for both naps and full nights, and largely independent of sleep scoring information. Detected spindles were comparable in frequency, duration, amplitude, and symmetry, and showed the typical time-frequency characteristics as well as a centroparietal topography. Spindles were detected close to their center and reliably at the predefined target phase. The RTSD algorithm therefore empowers researchers to target spindles during human sleep and apply the stimulation method and experimental paradigm of their choice.
- Citations
- 18
- FWCI
- 2.06
- Field percentile
- top 13%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Multichannel Sleep Spindle Detection Using Sparse Low-Rank Optimization
Ankit Parekh, Ivan Selesnick, … Indu A. Ayappa·Journal of Neuroscience MethodsPeer-reviewed·Jun 26, 2017
- Genuinely Blind Identification of Sleep Spindles through Trispectral Modulation Analysis
Christopher K. Kovach, S. Gliske, … Aviva Abosch·bioRxiv·Aug 27, 2026
- A Human-Machine Coupled System for Efficient Sleep Spindle Detection by Iterative Revision
Dasheng Bi·bioRxiv·Apr 11, 2019
- Real-time detection of N2 and N3 sleep from scalp and intracranial EEG
Mahmoud Alipour, Wim van Drongelen, … David Satzer·bioRxiv·Nov 6, 2026
- Waveform detection by deep learning reveals multi-area spindles that are selectively modulated by memory load
Maryam H. Mofrad, Greydon Gilmore, … Lyle Muller·eLifePeer-reviewed·Jun 14, 2022
- Improved Sleep Spindle Detection Using the BOSC Method: A Comparison with Traditional Approaches
Cameron Turnbull, Mitchell Prostebby, … Clayton T. Dickson·bioRxiv·Jul 31, 2025