Builds the dense sensor-to-surface mapping matrix and the iso-contour overlay for MEG / EEG evoked data. More...
#include "../disp3D_global.h"#include "core/viewstate.h"#include <fiff/fiff_evoked.h>#include <fiff/fiff_coord_trans.h>#include <Eigen/Core>#include <QMap>#include <QVector>#include <QString>#include <memory>#include <vector>

Go to the source code of this file.
Classes | |
| class | SensorFieldMapper |
| Sensor-to-surface field mapper that interpolates MEG/EEG measurements onto cortical meshes and generates iso-contour overlays. More... | |
Builds the dense sensor-to-surface mapping matrix and the iso-contour overlay for MEG / EEG evoked data.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
SensorFieldMapper holds the loaded FIFFLIB::FiffEvoked, the channel picks, the SSP projectors and the per-modality (MEG on head or helmet, EEG on scalp) target surface keys. On demand it calls into the fwd library's field-map kernel to produce a dense (n_vertices x n_channels) mapping matrix that is then multiplied by each time-point of the evoked data to colour the target surface.
The mapped scalar field is also contoured into a small set of iso-lines (red for positive, blue for negative) that are uploaded as line-strip meshes overlaid on the surface — the classic MNE-Suite field-map look.
Definition in file sensorfieldmapper.h.