High-level driver for sequential equivalent-current-dipole (ECD) fitting at every time point of an evoked or raw recording. More...
#include "../inv_global.h"#include "inv_ecd_set.h"#include "inv_dipole_fit_settings.h"#include "inv_dipole_fit_data.h"#include <mne/mne_meas_data.h>#include <mne/mne_types.h>#include <QSharedPointer>

Go to the source code of this file.
Classes | |
| class | INVLIB::InvDipoleFit |
| High-level driver for sequential dipole fitting. More... | |
Namespaces | |
| namespace | INVLIB |
| Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting). | |
High-level driver for sequential equivalent-current-dipole (ECD) fitting at every time point of an evoked or raw recording.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
INVLIB::InvDipoleFit orchestrates the full mne-c mne_dipole_fit pipeline: it consumes a populated InvDipoleFitSettings, builds the forward-model workspace via InvDipoleFitData, generates the initial-guess grid via InvGuessData, and then fits one ECD per requested time bin returning the result as an InvEcdSet. Refactored from fit_dipoles.c / dipole_fit_setup.c (MNE-C) while preserving the sphere-model and BEM forward-model code paths used by the original mne-c tooling.
Definition in file inv_dipole_fit.h.