v2.0.0
Loading...
Searching...
No Matches
dipole_forward.cpp
Go to the documentation of this file.
1//=============================================================================================================
36
37//=============================================================================================================
38// INCLUDES
39//=============================================================================================================
40
41#include "dipole_forward.h"
42
43//=============================================================================================================
44// USED NAMESPACES
45//=============================================================================================================
46
47using namespace Eigen;
48using namespace INVERSELIB;
49
50#define FREE_CMATRIX_4(m) mne_free_cmatrix_4((m))
51#define FREE_4(x) if ((char *)(x) != NULL) free((char *)(x))
52
53void mne_free_cmatrix_4 (float **m)
54{
55 if (m) {
56 FREE_4(*m);
57 FREE_4(m);
58 }
59}
60
61//=============================================================================================================
62// DEFINE MEMBER METHODS
63//=============================================================================================================
64
66: rd(NULL)
67, fwd(NULL)
68, scales(NULL)
69, uu(NULL)
70, vv(NULL)
71, sing(NULL)
72, nch(0)
73, ndip(0)
74{
75}
76
78
79//DipoleForward::DipoleForward(const DipoleForward& p_DipoleForward)
80//{
81//}
82
83//=============================================================================================================
84
86{
87 if(rd)
89 if(fwd)
91 if(uu)
93 if(vv)
95 if(sing)
96 FREE_4(sing);
97 if(scales)
99}
#define FREE_CMATRIX_4(m)
#define FREE_4(x)
void mne_free_cmatrix_4(float **m)
DipoleForward class declaration.
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).