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

Sphere-model field mapping. More...

#include "fwd_field_map.h"
#include <fiff/fiff_proj.h>
#include <fiff/fiff_file.h>
#include <Eigen/SVD>
#include <QRegularExpression>
#include <algorithm>
#include <cmath>
#include <vector>
Include dependency graph for fwd_field_map.cpp:

Go to the source code of this file.

Detailed Description

Sphere-model field mapping.

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
February 2026

The computations in this file are a C++ port of the MNE-Python field mapping code, which is BSD-3-Clause licensed:

mne/forward/_lead_dots.py        – Legendre series & sphere dot products
mne/forward/_field_interpolation.py – mapping matrix (SVD pseudo-inverse)

Original Python authors: The MNE-Python contributors. Copyright the MNE-Python contributors. License: BSD-3-Clause

Definition in file fwd_field_map.cpp.