mne-denoise 0.0.3 is out ![]()
mne-denoise is an open-source Python package bringing together complementary denoising methods for EEG and MEG, with scikit-learn-style interfaces supporting NumPy arrays and MNE-Python objects.
Since the initial release, the package has expanded considerably, with new methods and substantial improvements to existing implementations.
Highlights:
- Denoising Source Separation (DSS): A flexible framework for extracting, enhancing, or suppressing components based on their spectral, temporal, or statistical properties. Includes 9 linear bias operators, 11 nonlinear denoisers, and several variants for reproducible signals, narrowband activity, and nonstationary artifacts.
- Artifact Subspace Reconstruction (ASR): Multiple approaches for detecting and reconstructing transient, high-amplitude artifacts, including standard and Riemannian ASR, adaptive processing, and variants designed for recordings with limited clean calibration data.
- Power-line noise removal: ZapLine and adaptive ZapLine (ZapLine-plus), with automatic component selection, frequency tracking, and segmentation for nonstationary interference. Spectrum Interpolation provides an alternative frequency-domain approach.
- Reference-based and statistical denoising: iCanClean, BSS-CCA, and Singular Spectrum Analysis (SSA) provide complementary approaches for identifying and suppressing artifacts using reference signals, temporal correlations, or signal structure.
- Sensor noise suppression: SNS exploits spatial redundancy across sensors, while SOUND uses forward-model information to identify and suppress sensor-specific noise.
- TMS-EEG artifact removal: SSP-SIR combines signal-space projection and source-informed reconstruction to suppress TMS-evoked muscle artifacts.
MNE ecosystem integration
ZapLine from mne-denoise will also be available in a future release of MNE-BIDS-Pipeline, enabling its use directly within automated EEG and MEG preprocessing workflows.
Getting started
pip install mne-denoise
Explore the package:
Thanks to everyone who contributed to the development, testing, and review of the package!
Feedback, bug reports, and contributions are welcome.