Implementation of the sequential ECD-fit driver. More...
#include "inv_dipole_fit.h"#include <mne/mne_meas_data_set.h>#include "inv_guess_data.h"#include <memory>#include <vector>
Go to the source code of this file.
Implementation of the sequential ECD-fit driver.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
Implements the time-bin loop that calls into the Nelder-Mead / guess-grid optimiser, reads averaged or raw data through MNELIB and assembles the per-time-point InvEcd records into the output InvEcdSet. Refactored from fit_dipoles.c / fit_dipoles_raw in the MNE-C reference implementation.
Definition in file inv_dipole_fit.cpp.