Skip to main content

TECHNOLOGY AND CODE article

Front. Neuroinform.
Volume 18 - 2024 | doi: 10.3389/fninf.2024.1415512

Customizable automated cleaning of multichannel sleep EEG in SleepTrip

Provisionally accepted
  • Netherlands Institute for Neuroscience (KNAW), Amsterdam, Netherlands

The final, formatted version of the article will be published soon.

    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.

    Keywords: RC, FDW, EJWS. Methodology: RC, FDW. Analysis: RC. Interpretation: RC, EJWS. Writing: RC EEG, Sleep, Polysomnography, artifacts

    Received: 10 Apr 2024; Accepted: 19 Jul 2024.

    Copyright: © 2024 Cox, Weber and Van Someren. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Roy Cox, Netherlands Institute for Neuroscience (KNAW), Amsterdam, Netherlands

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.