MNE-CPP
0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
src
libraries
inverse
c
mne_meas_data_set.cpp
Go to the documentation of this file.
1
//=============================================================================================================
37
//=============================================================================================================
38
// INCLUDES
39
//=============================================================================================================
40
41
#include "
mne_meas_data_set.h
"
42
#include <
mne/c/mne_mne_data.h
>
43
44
#include <
fiff/fiff_file.h
>
45
46
//=============================================================================================================
47
// USED NAMESPACES
48
//=============================================================================================================
49
50
using namespace
Eigen;
51
using namespace
INVERSELIB;
52
using namespace
FIFFLIB;
53
54
#define FREE_8(x) if ((char *)(x) != NULL) free((char *)(x))
55
56
#define FREE_CMATRIX_8(m) mne_free_cmatrix_8((m))
57
58
void
mne_free_cmatrix_8 (
float
**m)
59
{
60
if
(m) {
61
FREE_8(*m);
62
FREE_8(m);
63
}
64
}
65
66
//=============================================================================================================
67
// DEFINE MEMBER METHODS
68
//=============================================================================================================
69
70
MneMeasDataSet::MneMeasDataSet
()
71
:data(NULL)
72
,data_filt(NULL)
73
,data_proj(NULL)
74
,data_white(NULL)
75
,stim14(NULL)
76
,first(0)
77
,np(0)
78
,nave(1)
79
,kind(
FIFFV_ASPECT_AVERAGE
)
80
,baselines(NULL)
81
,mne(NULL)
82
,user_data(NULL)
83
,user_data_free(NULL)
84
{
85
}
86
87
//=============================================================================================================
88
89
MneMeasDataSet::~MneMeasDataSet
()
90
{
91
FREE_CMATRIX_8(data);
92
FREE_CMATRIX_8(data_proj);
93
FREE_CMATRIX_8(data_filt);
94
FREE_CMATRIX_8(data_white);
95
FREE_8(stim14);
96
comment.clear();
97
FREE_8(baselines);
98
if
(mne)
99
delete
mne;
100
if
(user_data && user_data_free)
101
user_data_free(user_data);
102
}
fiff_file.h
Header file describing the numerical values used in fif files.
FIFFV_ASPECT_AVERAGE
#define FIFFV_ASPECT_AVERAGE
Definition
fiff_file.h:438
mne_mne_data.h
MNE MNE Data (MneMneData) class declaration.
mne_meas_data_set.h
MNE Meas Data Set (MneMeasDataSet) class declaration.
INVERSELIB::MneMeasDataSet::MneMeasDataSet
MneMeasDataSet()
Definition
mne_meas_data_set.cpp:70
INVERSELIB::MneMeasDataSet::~MneMeasDataSet
~MneMeasDataSet()
Definition
mne_meas_data_set.cpp:89
Generated on Sat Feb 14 2026 16:30:24 for MNE-CPP by
1.9.8