API reference#
Note
mne-denoise is under active development. Until version 1.0, the public API may evolve between releases. For reproducible analyses, record the mne-denoise version used in your work.
Names documented in this reference are public unless explicitly marked experimental. Underscore-prefixed implementation details are private.
Primary denoising API#
The main interfaces follow the artifact and method flow in the Methods guide and are listed here first.
Artifact Subspace Reconstruction#
Artifact Subspace Reconstruction estimator. |
|
Adaptive Artifact Subspace Reconstruction estimator. |
|
JugglerASR estimator with pointwise reference-sample selection. |
|
Guided soft-reconstruction variant of ASR. |
Calibrate an ASR state from continuous channel-first data. |
|
Apply a calibrated ASR state to continuous data. |
Sensor Noise Suppression#
Sensor Noise Suppression estimator. |
Learn and apply Sensor Noise Suppression to channel-first data. |
SOUND#
SOUND estimator for source-informed noise suppression. |
Compute the SOUND cleaning operator. |
Spectrum interpolation#
Line-noise remover based on amplitude spectrum interpolation. |
Interpolate line-noise amplitudes in a 2-D signal spectrum. |
ZapLine#
DSS-based line-noise removal estimator. |
DSS#
Core#
Denoising Source Separation transformer. |
|
Iterative DSS transformer. |
|
Lag-augmented DSS estimator for repeated trials. |
Compute DSS spatial filters from baseline and biased covariances. |
|
Extract multiple components with iterative DSS. |
Biases and linear denoisers#
Base class for DSS bias transformations. |
|
Averaging bias for repeatable DSS structure. |
|
Fixed-window event-locked averaging bias. |
|
Bandpass-filter bias for DSS. |
|
Line-frequency bias using IIR or FFT selection. |
|
Second-order IIR peak-filter bias for DSS. |
|
Comb-filter bias for harmonic frequencies. |
|
Lag-averaging bias for ordinary sensor-space DSS. |
|
Causal running-mean bias for DSS. |
|
Fixed STFT-mask bias for DSS. |
Nonlinear denoisers#
Base class for nonlinear DSS denoisers. |
|
Scaled hyperbolic-tangent nonlinearity. |
|
Residual hyperbolic-tangent nonlinearity. |
|
Configurable ICA contrast nonlinearity. |
|
Squared-source nonlinearity for iterative DSS. |
|
Gaussian nonlinearity for iterative DSS. |
|
Local-variance Wiener mask for iterative DSS. |
|
Local-variance mask for iterative DSS. |
|
STFT-mask denoiser for iterative DSS. |
|
DCT-domain denoiser. |
|
Cycle-template denoiser for quasi-periodic source signals. |
|
Uniformly smoothed hyperbolic-tangent nonlinearity. |
Singular Spectrum Analysis#
Frequency-guided, channel-wise Basic SSA transformer. |
|
Channel-wise local-SSA transformer for high-amplitude artifact reconstruction. |
Apply frequency-guided Basic SSA independently to each channel. |
|
Apply local SSA independently to each channel. |
BSS-CCA#
Reference-free BSS-CCA estimator. |
Learn and apply reference-free BSS-CCA to channel-first data. |
iCanClean#
Reference-based CCA artifact-removal estimator. |
Compute one iCanClean pass on continuous NumPy arrays. |
SSP-SIR#
Source-informed signal-space projection for TMS-evoked muscle artifact removal. |
Additional API#
The secondary reference pages collect reusable building blocks and supporting interfaces: