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.11 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.3

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.3
File Size Uploaded
mne_denoise-0.0.3.tar.gz 527.9 kB Details

Built distribution (wheel)

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

Total release size: 806.6 kB

Release files / mne_denoise-0.0.3.tar.gz

Download URL mne_denoise-0.0.3.tar.gz
Size 527.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8124c2186bceae2870b0297173bad56900c888a79529236a38faac2fbc3d9310
BLAKE2b-256 checksum
How to use checksums
45f7bba3a256e5c5ac0c678cccb68005f6a4b9f938b5eee60e6042e681e738c7
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 24, 2026.

Transparency log

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

Download URL mne_denoise-0.0.3-py3-none-any.whl
Size 278.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c87560141ac45e3db3065320eace19ce28c16a4c2aa3d819c34e8e57b1621e44
BLAKE2b-256 checksum
How to use checksums
7a4160dea03a0a24a80de73f1e0ec1424932e0f32c7584271010997a377afc3e
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

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