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

Forward solution (gain matrix mapping source dipoles to sensor measurements). More...

#include "mne_global.h"
#include <mne/mne_source_spaces.h>
#include <math/kmeans.h>
#include <fs/fs_annotationset.h>
#include <fiff/fiff_constants.h>
#include <fiff/fiff_coord_trans.h>
#include <fiff/fiff_types.h>
#include <fiff/fiff_info_base.h>
#include <fiff/fiff_cov.h>
#include <math.h>
#include <memory>
#include <Eigen/Core>
#include <QSharedPointer>
Include dependency graph for mne_forward_solution.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MNELIB::RegionDataOut
 Output of a cluster-based forward solution computation for a single cortical region. More...
struct  MNELIB::RegionData
 Input parameters for cluster-based forward solution computation on a single cortical region. More...
class  MNELIB::MNEForwardSolution
 In-memory representation of an -fwd.fif forward solution. More...

Namespaces

namespace  MNELIB
 Core MNE data structures (source spaces, source estimates, hemispheres).

Functions

std::ostream & MNELIB::operator<< (std::ostream &out, const MNELIB::MNEForwardSolution &p_MNEForwardSolution)
bool MNELIB::operator== (const MNEForwardSolution &a, const MNEForwardSolution &b)

Detailed Description

Forward solution (gain matrix mapping source dipoles to sensor measurements).

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

MNELIB::MNEForwardSolution is the in-memory representation of an -fwd.fif file: the leadfield matrix, the source spaces it was computed on, the sensor coordinate transforms, the projection vectors and the source-orientation flags. It is the central input to inverse modelling (MNEInverseOperator), to cluster-based dimensionality reduction (cluster_forward_solution) and to simulation routines. FIFF tags involved: FIFFB_MNE_FORWARD_SOLUTION, FIFF_MNE_FORWARD_SOLUTION_GRAD, FIFF_MNE_SOURCE_ORIENTATION, FIFF_MNE_COORD_FRAME.

Definition in file mne_forward_solution.h.