Sinusoidal HPI signal model — builds and inverts the regressor matrix that extracts coil amplitudes from MEG data. More...
#include "../inv_global.h"#include "inv_hpi_model_parameters.h"#include <QSharedPointer>#include <Eigen/Core>

Go to the source code of this file.
Classes | |
| class | INVLIB::InvSignalModel |
| Generates the forward sinusoidal model matrix for HPI coil signals at known drive frequencies. More... | |
Namespaces | |
| namespace | INVLIB |
| Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting). | |
Sinusoidal HPI signal model — builds and inverts the regressor matrix that extracts coil amplitudes from MEG data.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
INVLIB::InvSignalModel builds the model matrix that pairs the HPI coil drive frequencies (and, optionally, the line-frequency harmonics) with the sample window length defined by the input data. Inverting the model with a pseudo-inverse projects the MEG buffer onto the per-coil amplitudes that InvHpiFit feeds into the dipole search. The model matrix is cached and re-derived only when the InvHpiModelParameters change or the number of samples in the buffer changes.
Definition in file inv_signal_model.h.