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>
Go to the source code of this file.
Implementation of the HPI per-coil magnetic-dipole fitter.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
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.