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

Implementation of the HPI pre-processing front-end. More...

#include "inv_hpi_data_updater.h"
#include <fiff/fiff_ch_info.h>
#include <fiff/fiff_info.h>
#include <iostream>
#include <Eigen/Dense>
Include dependency graph for inv_hpi_data_updater.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the HPI pre-processing front-end.

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 cached state machine: detect FiffInfo changes (channel list, bad-channel list, dig-point list), rebuild the channel selection, project the SSP matrix into the good-channel subspace, apply it to the data buffer and rebuild the InvSensorSet from the updated coil list. Exposes pre-projected data, projectors, sensors and digitised coil positions as read-only accessors consumed by InvHpiFit.

Definition in file inv_hpi_data_updater.cpp.