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

Implementation of the basic / advanced HPI signal-model builders and the cached pseudo-inverse. More...

#include "inv_hpi_model_parameters.h"
#include "inv_signal_model.h"
#include <math/linalg.h>
#include <iostream>
#include <qmath.h>
#include <Eigen/Core>
Include dependency graph for inv_signal_model.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the basic / advanced HPI signal-model builders and the cached pseudo-inverse.

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 basic model (sin/cos pairs for the HPI drive frequencies only), the advanced model (extra sin/cos pairs for the line frequency and harmonics), the cache invalidator that detects when the model has to be rebuilt, and the SVD-based pseudo-inverse that projects raw MEG samples onto per-coil drive amplitudes.

Definition in file inv_signal_model.cpp.