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

Compact MEG sensor-geometry container (positions, orientations, integration weights) used by the HPI fitter. More...

#include "../inv_global.h"
#include <QObject>
#include <QSharedPointer>
#include <Eigen/Core>
Include dependency graph for inv_sensor_set.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  INVLIB::InvSensorSet
 Stores MEG sensor geometry (positions, orientations, weights, coil count) for a single sensor type. More...
class  INVLIB::InvSensorSetCreator
 Builds InvSensorSet objects from FiffInfo channel definitions, applying SSP projections and compensation. More...

Namespaces

namespace  FWDLIB
 Forward modelling — BEM solver, spherical models, sensor/coil definitions and the lead-field assembly that links current dipoles to MEG/EEG sensor readings.
namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.
namespace  INVLIB
 Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).

Enumerations

enum class  INVLIB::Accuracy : int { INVLIB::high = 2 , INVLIB::medium = 1 , INVLIB::low = 0 }

Detailed Description

Compact MEG sensor-geometry container (positions, orientations, integration weights) used by the HPI fitter.

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::InvSensorSet replaces the verbose FWDLIB::FwdCoilSet for read-only use by the HPI fit loop: it stores per-channel integration-point positions rmag, surface normals cosmag, channel transforms tra and integration weights w in dense Eigen matrices, plus the linear-combination matrix that maps coil integration points back to channels. The InvSensorSetCreator helper builds an InvSensorSet from an FWDLIB::FwdCoilSet, picking the requested integration accuracy (high / medium / low) so the HPI cost function can run on a small hot-loop-friendly data structure.

Definition in file inv_sensor_set.h.