v2.0.0
Loading...
Searching...
No Matches
src
libraries
mne
mne_surface_patch.cpp
Go to the documentation of this file.
1
//=============================================================================================================
35
36
//=============================================================================================================
37
// INCLUDES
38
//=============================================================================================================
39
40
#include "
mne_surface_patch.h
"
41
42
#include "
mne_source_space.h
"
43
44
//=============================================================================================================
45
// USED NAMESPACES
46
//=============================================================================================================
47
48
using namespace
MNELIB
;
49
50
//=============================================================================================================
51
// DEFINE MEMBER METHODS
52
//=============================================================================================================
53
54
MNESurfacePatch::MNESurfacePatch
(
int
np)
55
{
56
if
(np > 0) {
57
vert
= Eigen::VectorXi::Zero(np);
58
border
= Eigen::VectorXi::Zero(np);
59
}
60
s
= std::make_unique<MNESourceSpace>(np);
61
}
62
63
//=============================================================================================================
64
65
MNESurfacePatch::~MNESurfacePatch
() =
default
;
mne_surface_patch.h
MNESurfacePatch class declaration.
mne_source_space.h
MNESourceSpace class declaration.
MNELIB
Core MNE data structures (source spaces, source estimates, hemispheres).
Definition
connectivitysettings.h:63
MNELIB::MNESurfacePatch::vert
Eigen::VectorXi vert
Definition
mne_surface_patch.h:106
MNELIB::MNESurfacePatch::MNESurfacePatch
MNESurfacePatch(int np)
Definition
mne_surface_patch.cpp:54
MNELIB::MNESurfacePatch::border
Eigen::VectorXi border
Definition
mne_surface_patch.h:110
MNELIB::MNESurfacePatch::~MNESurfacePatch
~MNESurfacePatch()
MNELIB::MNESurfacePatch::s
std::unique_ptr< MNESourceSpace > s
Definition
mne_surface_patch.h:105
Generated on
for MNE-CPP by
1.16.1