NeuXus open-source tool for real-time artifact reduction in simultaneous EEG-fMRI

Neuroimage. 2023 Oct 15:280:120353. doi: 10.1016/j.neuroimage.2023.120353. Epub 2023 Aug 29.

Abstract

The simultaneous acquisition of electroencephalography and functional magnetic resonance imaging (EEG-fMRI) allows the complementary study of the brain's electrophysiology and hemodynamics with high temporal and spatial resolution. One application with great potential is neurofeedback training of targeted brain activity, based on the real-time analysis of the EEG and/or fMRI signals. This depends on the ability to reduce in real time the severe artifacts affecting the EEG signal acquired with fMRI, mainly the gradient and pulse artifacts. A few methods have been proposed for this purpose, but they are either slow, hardware-dependent, publicly unavailable, or proprietary software. Here, we present a fully open-source and publicly available tool for real-time EEG artifact reduction in simultaneous EEG-fMRI recordings that is fast and applicable to any hardware. Our tool is integrated in the Python toolbox NeuXus for real-time EEG processing and adapts to a real-time scenario well-established artifact average subtraction methods combined with a long short-term memory network for R peak detection. We benchmarked NeuXus on three different datasets, in terms of artifact power reduction and background signal preservation in resting state, alpha-band power reactivity to eyes closure, and event-related desynchronization during motor imagery. We showed that NeuXus performed at least as well as the only available real-time tool for conventional hardware setups (BrainVision's RecView) and a well-established offline tool (EEGLAB's FMRIB plugin). We also demonstrated NeuXus' real-time ability by reporting execution times under 250 ms. In conclusion, we present and validate the first fully open-source and hardware-independent solution for real-time artifact reduction in simultaneous EEG-fMRI studies.

Keywords: Artifact reduction; EEG-FMRi; LSTM; Real-time; Toolbox.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Artifacts
  • Benchmarking
  • Electroencephalography
  • Humans
  • Magnetic Resonance Imaging*
  • Neurofeedback*

Associated data

  • figshare/10.6084/m9.figshare.22561555.v2