v2.0.0
Loading...
Searching...
No Matches
mne_surface_patch.cpp
Go to the documentation of this file.
1//=============================================================================================================
16
17//=============================================================================================================
18// INCLUDES
19//=============================================================================================================
20
21#include "mne_surface_patch.h"
22
23#include "mne_source_space.h"
24
25//=============================================================================================================
26// USED NAMESPACES
27//=============================================================================================================
28
29using namespace MNELIB;
30
31//=============================================================================================================
32// DEFINE MEMBER METHODS
33//=============================================================================================================
34
36{
37 if (np > 0) {
38 vert = Eigen::VectorXi::Zero(np);
39 border = Eigen::VectorXi::Zero(np);
40 }
41 s = std::make_unique<MNESourceSpace>(np);
42}
43
44//=============================================================================================================
45
Local surface patch (neighbours-of-neighbours) used by patch-based source priors.
Single-hemisphere source space (cortical surface or volume grid) loaded from FIFF.
Core MNE data structures (source spaces, source estimates, hemispheres).
std::unique_ptr< MNESourceSpace > s