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

Implementation of the HPI per-coil magnetic-dipole fitter. More...

#include "inv_hpi_fit_data.h"
#include "inv_hpi_fit.h"
#include "inv_sensor_set.h"
#include <math/linalg.h>
#include <iostream>
#include <algorithm>
#include <qmath.h>
Include dependency graph for inv_hpi_fit_data.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the HPI per-coil magnetic-dipole fitter.

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 analytic infinite-medium magnetic-dipole leadfield, the per-iteration residual / error functional, the Nelder-Mead simplex search (fminsearch), the concurrent dispatcher (doDipfitConcurrent) and the HPISortStruct comparator used to match fitted coils to the digitised reference layout.

Definition in file inv_hpi_fit_data.cpp.