v2.0.0
Loading...
Searching...
No Matches
MNELIB::MNECorticalMap Class Reference

Cortical map interpolation utilities. More...

#include <mne_cortical_map.h>

Public Member Functions

 MNECorticalMap ()=delete

Static Public Member Functions

static Eigen::MatrixXd makeCorticalMap (const MNEForwardSolution &fwd, const MNEInverseOperator &inv, const FIFFLIB::FiffInfo &info)

Detailed Description

Cortical map interpolation utilities.

Cortical map interpolation: creates a mapping matrix that transforms sensor-level data to source space using forward and inverse operators.

Since
2.2.0

Definition at line 81 of file mne_cortical_map.h.

Constructor & Destructor Documentation

◆ MNECorticalMap()

MNELIB::MNECorticalMap::MNECorticalMap ( )
delete

Member Function Documentation

◆ makeCorticalMap()

MatrixXd MNECorticalMap::makeCorticalMap ( const MNEForwardSolution & fwd,
const MNEInverseOperator & inv,
const FIFFLIB::FiffInfo & info )
static

Create a cortical mapping matrix that transforms sensor-level data to source space.

The mapping is computed as: M = inv_kernel * fwd_gain^T

where inv_kernel is the inverse operator kernel and fwd_gain is the forward solution gain matrix.

Parameters
[in]fwdThe forward solution containing the gain matrix.
[in]invThe inverse operator (must have been prepared / have a kernel).
[in]infoThe measurement info for channel selection.
Returns
The cortical mapping matrix (nSources x nSources).

Definition at line 64 of file mne_cortical_map.cpp.


The documentation for this class was generated from the following files: