v2.0.0
Loading...
Searching...
No Matches
ieeg_surface_map.h
Go to the documentation of this file.
1//=============================================================================================================
16
17#ifndef IEEG_SURFACE_MAP_H
18#define IEEG_SURFACE_MAP_H
19
20//=============================================================================================================
21// INCLUDES
22//=============================================================================================================
23
24#include "ieeg_global.h"
25
26//=============================================================================================================
27// EIGEN INCLUDES
28//=============================================================================================================
29
30#include <Eigen/Core>
31#include <Eigen/SparseCore>
32
33//=============================================================================================================
34// DEFINE NAMESPACE IEEGLIB
35//=============================================================================================================
36
37namespace IEEGLIB
38{
39
40//=============================================================================================================
51
52//=============================================================================================================
59{
60public:
61 //=========================================================================================================
76 static Eigen::SparseMatrix<double> weights(const Eigen::MatrixX3f& contacts,
77 const Eigen::MatrixX3f& vertices,
78 double distance = 0.01,
80 bool project = true);
81};
82
83} // namespace IEEGLIB
84
85#endif // IEEG_SURFACE_MAP_H
IEEGLIB shared-library export macro and build-info accessors for the intracranial EEG library.
#define IEEGSHARED_EXPORT
Definition ieeg_global.h:32
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)