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

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>
Include dependency graph for inv_dipole_fit.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the sequential ECD-fit driver.

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

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.