v2.0.0
Loading...
Searching...
No Matches
inv_guess_data.h
Go to the documentation of this file.
1//=============================================================================================================
21
22#ifndef INV_GUESS_DATA_H
23#define INV_GUESS_DATA_H
24
25//=============================================================================================================
26// INCLUDES
27//=============================================================================================================
28
29#include "../inv_global.h"
30#include "inv_dipole_forward.h"
31
32//=============================================================================================================
33// EIGEN INCLUDES
34//=============================================================================================================
35
36#include <Eigen/Core>
37
38//=============================================================================================================
39// QT INCLUDES
40//=============================================================================================================
41
42#include <QSharedPointer>
43
44#include <vector>
45
46//=============================================================================================================
47// DEFINE NAMESPACE INVLIB
48//=============================================================================================================
49
50namespace INVLIB
51{
52
53//=============================================================================================================
54// FORWARD DECLARATIONS
55//=============================================================================================================
56
58
59//=============================================================================================================
66{
67public:
68 typedef QSharedPointer<InvGuessData> SPtr;
69 typedef QSharedPointer<const InvGuessData> ConstSPtr;
70
71 //=========================================================================================================
77
79 InvGuessData(const InvGuessData&) = delete;
81
82 //=========================================================================================================
90 InvGuessData( const QString& guessname, const QString& guess_surfname, float mindist, float exclude, float grid, InvDipoleFitData* f);
91
92 //=========================================================================================================
100 InvGuessData( const QString& guessname, const QString& guess_surfname, float mindist, float exclude, float grid, InvDipoleFitData* f, char *guess_save_name);
101
102 //=========================================================================================================
108
109 //=========================================================================================================
119
120public:
121 Eigen::Matrix<float, Eigen::Dynamic, 3, Eigen::RowMajor> rr;
122 std::vector<InvDipoleForward::UPtr> guess_fwd;
123 int nguess;
124};
125
126//=============================================================================================================
127// INLINE DEFINITIONS
128//=============================================================================================================
129} // NAMESPACE INVLIB
130
131#endif // INV_GUESS_DATA_H
Per-iteration forward-field cache (forward matrix, SVD, column normalisation) used by the dipole-fit ...
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
#define INVSHARED_EXPORT
Definition inv_global.h:38
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Dipole fit workspace holding sensor geometry, forward model, noise covariance, and projection data.
QSharedPointer< InvGuessData > SPtr
std::vector< InvDipoleForward::UPtr > guess_fwd
InvGuessData(const InvGuessData &)=delete
Eigen::Matrix< float, Eigen::Dynamic, 3, Eigen::RowMajor > rr
QSharedPointer< const InvGuessData > ConstSPtr
bool compute_guess_fields(InvDipoleFitData *f)
InvGuessData & operator=(const InvGuessData &)=delete