MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
inverse
dipoleFit
dipole_forward.h
Go to the documentation of this file.
1
//=============================================================================================================
37
#ifndef DIPOLEFORWARD_H
38
#define DIPOLEFORWARD_H
39
40
//=============================================================================================================
41
// INCLUDES
42
//=============================================================================================================
43
44
#include "../inverse_global.h"
45
46
//=============================================================================================================
47
// EIGEN INCLUDES
48
//=============================================================================================================
49
50
#include <Eigen/Core>
51
52
//=============================================================================================================
53
// QT INCLUDES
54
//=============================================================================================================
55
56
#include <QSharedPointer>
57
#include <QDebug>
58
59
//=============================================================================================================
60
// DEFINE NAMESPACE INVERSELIB
61
//=============================================================================================================
62
63
namespace
INVERSELIB
64
{
65
66
//=============================================================================================================
72
class
INVERSESHARED_EXPORT
DipoleForward
73
{
74
public
:
75
typedef
QSharedPointer<DipoleForward>
SPtr
;
76
typedef
QSharedPointer<const DipoleForward>
ConstSPtr
;
78
//=========================================================================================================
83
DipoleForward
();
84
85
// //=========================================================================================================
86
// /**
87
// * Copy constructor.
88
// *
89
// * @param[in] p_DipoleForward DipoleForward which should be copied
90
// */
91
// DipoleForward(const DipoleForward& p_DipoleForward);
92
93
//=========================================================================================================
98
~
DipoleForward
();
99
100
public
:
101
float
**
rd
;
102
int
ndip
;
103
float
**
fwd
;
104
float
*
scales
;
105
float
**
uu
;
106
float
**
vv
;
107
float
*
sing
;
108
int
nch
;
110
// ### OLD STRUCT ###
111
// typedef struct {
112
// float **rd; /* Dipole locations */
113
// int ndip; /* How many dipoles */
114
// float **fwd; /* The forward solution (projected and whitened) */
115
// float *scales; /* Scales applied to the columns of fwd */
116
// float **uu; /* The left singular vectors of the forward matrix */
117
// float **vv; /* The right singular vectors of the forward matrix */
118
// float *sing; /* The singular values */
119
// int nch; /* Number of channels */
120
// } *dipoleForward,dipoleForwardRec;
121
};
122
123
//=============================================================================================================
124
// INLINE DEFINITIONS
125
//=============================================================================================================
126
}
// NAMESPACE INVERSELIB
127
128
#endif // DIPOLEFORWARD_H
INVERSELIB::DipoleForward::uu
float ** uu
Definition:
dipole_forward.h:105
INVERSESHARED_EXPORT
#define INVERSESHARED_EXPORT
Definition:
inverse_global.h:56
INVERSELIB::DipoleForward::scales
float * scales
Definition:
dipole_forward.h:104
INVERSELIB::DipoleForward::nch
int nch
Definition:
dipole_forward.h:108
INVERSELIB::DipoleForward::fwd
float ** fwd
Definition:
dipole_forward.h:103
INVERSELIB::DipoleForward::rd
float ** rd
Definition:
dipole_forward.h:101
INVERSELIB::DipoleForward::SPtr
QSharedPointer< DipoleForward > SPtr
Definition:
dipole_forward.h:75
INVERSELIB::DipoleForward::sing
float * sing
Definition:
dipole_forward.h:107
INVERSELIB::DipoleForward::vv
float ** vv
Definition:
dipole_forward.h:106
INVERSELIB::DipoleForward::ConstSPtr
QSharedPointer< const DipoleForward > ConstSPtr
Definition:
dipole_forward.h:76
INVERSELIB::DipoleForward
DipoleForward description.
Definition:
dipole_forward.h:72
INVERSELIB::DipoleForward::ndip
int ndip
Definition:
dipole_forward.h:102
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17