v2.0.0
Loading...
Searching...
No Matches
inv_signal_model.h File Reference

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>
Include dependency graph for inv_signal_model.h:
This graph shows which files directly or indirectly include this file:

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).

Detailed Description

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

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

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.