v2.0.0
Loading...
Searching...
No Matches
src
libraries
mne
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
29
using namespace
MNELIB
;
30
31
//=============================================================================================================
32
// DEFINE MEMBER METHODS
33
//=============================================================================================================
34
35
MNESurfacePatch::MNESurfacePatch
(
int
np)
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
46
MNESurfacePatch::~MNESurfacePatch
() =
default
;
mne_surface_patch.h
Local surface patch (neighbours-of-neighbours) used by patch-based source priors.
mne_source_space.h
Single-hemisphere source space (cortical surface or volume grid) loaded from FIFF.
MNELIB
Core MNE data structures (source spaces, source estimates, hemispheres).
Definition
connectivitysettings.h:58
MNELIB::MNESurfacePatch::vert
Eigen::VectorXi vert
Definition
mne_surface_patch.h:89
MNELIB::MNESurfacePatch::MNESurfacePatch
MNESurfacePatch(int np)
Definition
mne_surface_patch.cpp:35
MNELIB::MNESurfacePatch::border
Eigen::VectorXi border
Definition
mne_surface_patch.h:93
MNELIB::MNESurfacePatch::~MNESurfacePatch
~MNESurfacePatch()
MNELIB::MNESurfacePatch::s
std::unique_ptr< MNESourceSpace > s
Definition
mne_surface_patch.h:88
Generated on
for MNE-CPP by
1.16.1