MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_mne_data.cpp
Go to the documentation of this file.
1//=============================================================================================================
37//=============================================================================================================
38// INCLUDES
39//=============================================================================================================
40
41#include "mne_mne_data.h"
42
43//=============================================================================================================
44// USED NAMESPACES
45//=============================================================================================================
46
47using namespace Eigen;
48using namespace MNELIB;
49
50#define FREE_7(x) if ((char *)(x) != NULL) free((char *)(x))
51
52#define FREE_CMATRIX_7(m) mne_free_cmatrix_7((m))
53
54void mne_free_cmatrix_7 (float **m)
55{
56 if (m) {
57 FREE_7(*m);
58 FREE_7(m);
59 }
60}
61
62//=============================================================================================================
63// DEFINE MEMBER METHODS
64//=============================================================================================================
65
67: datap(NULL)
68, predicted(NULL)
69, SNR(NULL)
70, lambda2_est(NULL)
71, lambda2(NULL)
72{
73}
74
75//=============================================================================================================
76
78{
79 FREE_CMATRIX_7(this->datap);
80 FREE_CMATRIX_7(this->predicted);
81
82 FREE_7(this->SNR);
83 FREE_7(this->lambda2_est);
84 FREE_7(this->lambda2);
85}
MNE MNE Data (MneMneData) class declaration.