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

Map sEEG / ECoG contact values onto surface vertices, as MNE-Python's stc_near_sensors. More...

#include "ieeg_global.h"
#include <Eigen/Core>
#include <Eigen/SparseCore>
Include dependency graph for ieeg_surface_map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IEEGLIB::IeegSurfaceMap
 Weights that paint contact values onto a surface. More...

Namespaces

namespace  IEEGLIB
 Intracranial EEG (sEEG, ECoG): implantation, bipolar referencing, cortical mapping.

Enumerations

enum class  IEEGLIB::IeegSurfaceMapMode { IEEGLIB::Sum , IEEGLIB::Single , IEEGLIB::Nearest , IEEGLIB::Weighted }
 How the weights of contacts near one vertex combine; the modes of MNE-Python's stc_near_sensors. More...

Detailed Description

Map sEEG / ECoG contact values onto surface vertices, as MNE-Python's stc_near_sensors.

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.4.0
Date
October 2026

Each vertex within distance of a contact takes on that contact's value, weighted by 1 - d / distance, so the weight is 1 at the contact and falls linearly to 0 at distance. The result is a sparse vertices x contacts matrix W, and vertex data = W * contact data.

Definition in file ieeg_surface_map.h.