17#ifndef IEEG_SURFACE_MAP_H
18#define IEEG_SURFACE_MAP_H
31#include <Eigen/SparseCore>
76 static Eigen::SparseMatrix<double>
weights(
const Eigen::MatrixX3f& contacts,
77 const Eigen::MatrixX3f& vertices,
78 double distance = 0.01,
IEEGLIB shared-library export macro and build-info accessors for the intracranial EEG library.
#define IEEGSHARED_EXPORT
Intracranial EEG (sEEG, ECoG): implantation, bipolar referencing, cortical mapping.
IeegSurfaceMapMode
How the weights of contacts near one vertex combine; the modes of MNE-Python's stc_near_sensors.
Weights that paint contact values onto a surface.
static Eigen::SparseMatrix< double > weights(const Eigen::MatrixX3f &contacts, const Eigen::MatrixX3f &vertices, double distance=0.01, IeegSurfaceMapMode mode=IeegSurfaceMapMode::Sum, bool project=true)