MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
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
63namespace INVERSELIB
64{
65
66//=============================================================================================================
73{
74public:
75 typedef QSharedPointer<DipoleForward> SPtr;
76 typedef QSharedPointer<const DipoleForward> ConstSPtr;
78 //=========================================================================================================
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 //=========================================================================================================
99
100public:
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
#define INVERSESHARED_EXPORT
DipoleForward description.
QSharedPointer< const DipoleForward > ConstSPtr
QSharedPointer< DipoleForward > SPtr