v2.0.0
Loading...
Searching...
No Matches
guess_data.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef GUESSDATA_H
38#define GUESSDATA_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "../inverse_global.h"
45#include "dipole_forward.h"
46
47//=============================================================================================================
48// EIGEN INCLUDES
49//=============================================================================================================
50
51#include <Eigen/Core>
52
53//=============================================================================================================
54// QT INCLUDES
55//=============================================================================================================
56
57#include <QSharedPointer>
58
59//=============================================================================================================
60// DEFINE NAMESPACE INVERSELIB
61//=============================================================================================================
62
63namespace INVERSELIB
64{
65
66//=============================================================================================================
67// FORWARD DECLARATIONS
68//=============================================================================================================
69
70class DipoleFitData;
71
72//=============================================================================================================
79{
80public:
81 typedef QSharedPointer<GuessData> SPtr;
82 typedef QSharedPointer<const GuessData> ConstSPtr;
83
84 //=========================================================================================================
89 GuessData();
90
91// //=========================================================================================================
92// /**
93// * Copy constructor.
94// *
95// * @param[in] p_GuessData GuessData which should be copied
96// */
97// GuessData(const GuessData& p_GuessData);
98
99 //=========================================================================================================
107 GuessData( const QString& guessname, const QString& guess_surfname, float mindist, float exclude, float grid, DipoleFitData* f);
108
109 //=========================================================================================================
117 GuessData( const QString& guessname, const QString& guess_surfname, float mindist, float exclude, float grid, DipoleFitData* f, char *guess_save_name);
118
119 //=========================================================================================================
124 ~GuessData();
125
126 //=========================================================================================================
136
137public:
138 float **rr;
140 int nguess;
141
142// ### OLD STRUCT ###
143// typedef struct {
144// float **rr; /**< These are the guess dipole locations. */
145// DipoleForward** guess_fwd; /**< Forward solutions for the guesses. */
146// int nguess; /**< How many sources. */
147// } *guessData,guessDataRec;
148};
149
150//=============================================================================================================
151// INLINE DEFINITIONS
152//=============================================================================================================
153} // NAMESPACE INVERSELIB
154
155#endif // GUESSDATA_H
DipoleForward class declaration.
inverse library export/import macros.
#define INVERSESHARED_EXPORT
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Dipole Fit Data implementation.
Stores forward field matrices and source space data for magnetic dipole fitting.
QSharedPointer< GuessData > SPtr
Definition guess_data.h:81
bool compute_guess_fields(DipoleFitData *f)
QSharedPointer< const GuessData > ConstSPtr
Definition guess_data.h:82
DipoleForward ** guess_fwd
Definition guess_data.h:139