v2.0.0
Loading...
Searching...
No Matches
bad_channels_maxwell.h File Reference

Bad channel detection via SSS reconstruction residuals. More...

#include "dsp_global.h"
#include <fiff/fiff_info.h>
#include <Eigen/Core>
#include <QStringList>
Include dependency graph for bad_channels_maxwell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UTILSLIB::BadChannelsMaxwellParams
 Parameters for SSS-based bad channel detection. More...
struct  UTILSLIB::BadChannelsMaxwellResult
 Result of SSS-based bad channel detection. More...

Namespaces

namespace  UTILSLIB
 Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).

Functions

DSPSHARED_EXPORT BadChannelsMaxwellResult UTILSLIB::findBadChannelsMaxwell (const Eigen::MatrixXd &matData, const FIFFLIB::FiffInfo &info, const BadChannelsMaxwellParams &params=BadChannelsMaxwellParams())
 Detect bad MEG channels using SSS reconstruction residuals.

Detailed Description

Bad channel detection via SSS reconstruction residuals.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.1
Date
May 2026

Channels whose SSS reconstruction error is anomalously high are flagged as bad. This mirrors MNE-Python's mne.preprocessing.find_bad_channels_maxwell().

Reference: Taulu, S., Kajola, M. (2005). J. Appl. Phys. 97, 124905.

Definition in file bad_channels_maxwell.h.