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

Implementation of MNELIB::MNEForwardSolution. More...

#include "mne_forward_solution.h"
#include <fiff/fiff.h>
#include <fiff/fiff_coord_trans.h>
#include <Eigen/SVD>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <unsupported/Eigen/KroneckerProduct>
#include <fs/fs_colortable.h>
#include <fs/fs_label.h>
#include <fs/fs_surfaceset.h>
#include <math/linalg.h>
#include <math/kmeans.h>
#include <algorithm>
#include <QtConcurrent>
#include <QFuture>
#include <QRegularExpression>
Include dependency graph for mne_forward_solution.cpp:

Go to the source code of this file.

Variables

constexpr int FAIL = -1
constexpr int OK = 0
constexpr int X = 0
constexpr int Y = 1
constexpr int Z = 2

Detailed Description

Implementation of MNELIB::MNEForwardSolution.

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 FIFF read/write of the gain matrix, source-space attachment, coordinate-frame conversion, label-restricted clustering using MATHLIB::KMeans, gain-matrix whitening against an FIFFLIB::FiffCov noise covariance and SSP/CTF application. Mirrors mne.forward of MNE-Python and the mne_inverse_operator C tool.

Definition in file mne_forward_solution.cpp.

Variable Documentation

◆ FAIL

int FAIL = -1
constexpr

Definition at line 114 of file mne_forward_solution.cpp.

◆ OK

int OK = 0
constexpr

Definition at line 115 of file mne_forward_solution.cpp.

◆ X

int X = 0
constexpr

Definition at line 117 of file mne_forward_solution.cpp.

◆ Y

int Y = 1
constexpr

Definition at line 118 of file mne_forward_solution.cpp.

◆ Z

int Z = 2
constexpr

Definition at line 119 of file mne_forward_solution.cpp.