AUTHOR=Cox Roy , Weber Frederik D. , Van Someren Eus J. W. TITLE=Customizable automated cleaning of multichannel sleep EEG in SleepTrip JOURNAL=Frontiers in Neuroinformatics VOLUME=18 YEAR=2024 URL=https://www.frontiersin.org/journals/neuroinformatics/articles/10.3389/fninf.2024.1415512 DOI=10.3389/fninf.2024.1415512 ISSN=1662-5196 ABSTRACT=

While standard polysomnography has revealed the importance of the sleeping brain in health and disease, more specific insight into the relevant brain circuits requires high-density electroencephalography (EEG). However, identifying and handling sleep EEG artifacts becomes increasingly challenging with higher channel counts and/or volume of recordings. Whereas manual cleaning is time-consuming, subjective, and often yields data loss (e.g., complete removal of channels or epochs), automated approaches suitable and practical for overnight sleep EEG remain limited, especially when control over detection and repair behavior is desired. Here, we introduce a flexible approach for automated cleaning of multichannel sleep recordings, as part of the free Matlab-based toolbox SleepTrip. Key functionality includes 1) channel-wise detection of various artifact types encountered in sleep EEG, 2) channel- and time-resolved marking of data segments for repair through interpolation, and 3) visualization options to review and monitor performance. Functionality for Independent Component Analysis is also included. Extensive customization options allow tailoring cleaning behavior to data properties and analysis goals. By enabling computationally efficient and flexible automated data cleaning, this tool helps to facilitate fundamental and clinical sleep EEG research.