Skip to main content

mne-denoise

Tests codecov PyPI version Python versions License Code style: ruff Documentation Downloads

mne-denoise provides artifact-suppression and signal-denoising methods for EEG and MEG, with NumPy and MNE-Python integration.

The package contains several complementary methods for spatial, spectral, statistical, and source-informed denoising. Many methods accept MNE Raw, Epochs, and Evoked objects directly, and sklearn-style estimators are provided where that interface fits the method.

See the user guide and API reference for method selection and exact contracts. Experimental APIs are identified in the documentation.

Installation

Python 3.12 or newer is required.

Base package — pip install mne-denoise

MNE-Python integration — pip install "mne-denoise[mne]"

Visualization (Matplotlib + Seaborn) — pip install "mne-denoise[viz]"

Progress bars (tqdm) — pip install "mne-denoise[progress]"

Quick start

The example assumes that raw is an MNE Raw object loaded with preload=True; install the mne extra to use it.

from mne_denoise.spectrum_interpolation import SpectrumInterpolation

# `raw` is an mne.io.Raw object loaded with preload=True.
# Set line_freq to the mains frequency in your recording.
cleaner = SpectrumInterpolation(line_freq=60.0, n_harmonics=3)
clean_raw = cleaner.fit_transform(raw)

Documentation

Citing

When using mne-denoise in scientific work, cite both the software and the primary publication(s) for the method(s) used in your analysis. See the citation guidance.

Contributing

Contributions are welcome. See CONTRIBUTING.md for the human contribution guide.

License

BSD 3-Clause License. See LICENSE for details.

Release files for mne-denoise 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mne-denoise 0.0.2
File Size Uploaded
mne_denoise-0.0.2.tar.gz 527.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mne-denoise 0.0.2
File Interpreter ABI Platform
mne_denoise-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 806.5 kB

Release files / mne_denoise-0.0.2.tar.gz

Download URL mne_denoise-0.0.2.tar.gz
Size 527.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cdfbfcbd67f2637c914d5fd9316b843d17fe0e4ace0686c286ea8878484e9ba1
BLAKE2b-256 checksum
How to use checksums
02687b340e1633e05efcc9332cdd1599d93e0b67f86366b2b18e1fe665199035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / mne_denoise-0.0.2-py3-none-any.whl

Download URL mne_denoise-0.0.2-py3-none-any.whl
Size 278.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64dd426fdd639400df3abcb19b1a3b21292d4b5fde5abf49a153e230cc88010c
BLAKE2b-256 checksum
How to use checksums
d59d2002e3dc021e9a288de2001215b4841a9ea2e5aca02a414d462215873a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page