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

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>
Include dependency graph for inv_dipole_fit.h:
This graph shows which files directly or indirectly include this file:

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).

Detailed Description

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

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

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.