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//=============================================================================================================
68{
69public:
70 typedef QSharedPointer<InvGuessData> SPtr;
71 typedef QSharedPointer<const InvGuessData> ConstSPtr;
72
73 //=========================================================================================================
79
81 InvGuessData(const InvGuessData&) = delete;
83
84 //=========================================================================================================
98 InvGuessData(const QString& guessname, const QString& guess_surfname, float mindist, float exclude, float grid, InvDipoleFitData* f, float guessrad = 0.080f);
99
100 //=========================================================================================================
106
107 //=========================================================================================================
117
118public:
119 Eigen::Matrix<float, Eigen::Dynamic, 3, Eigen::RowMajor> rr;
120 std::vector<InvDipoleForward::UPtr> guess_fwd;
121 int nguess = 0;
122};
123
124//=============================================================================================================
125// INLINE DEFINITIONS
126//=============================================================================================================
127} // NAMESPACE INVLIB
128
129#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