v2.0.0
Loading...
Searching...
No Matches
inv_dipole_fit_settings.h
Go to the documentation of this file.
1//=============================================================================================================
22
23#ifndef INV_DIPOLE_FIT_SETTINGS_H
24#define INV_DIPOLE_FIT_SETTINGS_H
25
26//=============================================================================================================
27// INCLUDES
28//=============================================================================================================
29
30#include "../inv_global.h"
31#include "inv_ecd_set.h"
32
33#include <mne/mne_types.h>
34
35//=============================================================================================================
36// EIGEN INCLUDES
37//=============================================================================================================
38
39#include <Eigen/Core>
40
41//=============================================================================================================
42// QT INCLUDES
43//=============================================================================================================
44
45#include <QSharedPointer>
46#include <QStringList>
47
48//=============================================================================================================
49// DEFINE NAMESPACE INVLIB
50//=============================================================================================================
51
52namespace INVLIB
53{
54
55//=============================================================================================================
56// CONSTANTS
57//=============================================================================================================
58
59inline constexpr double BIG_TIME = 1e6;
60
61//=============================================================================================================
62// FORWARD DECLARATIONS
63//=============================================================================================================
64
65//=============================================================================================================
76{
77public:
78 typedef QSharedPointer<InvDipoleFitSettings> SPtr;
79 typedef QSharedPointer<const InvDipoleFitSettings> ConstSPtr;
80
81 //=========================================================================================================
85 explicit InvDipoleFitSettings();
86
87 //=========================================================================================================
94 explicit InvDipoleFitSettings(int* argc, char** argv);
95
96 //=========================================================================================================
100 virtual ~InvDipoleFitSettings();
101
102 //=========================================================================================================
108 bool checkIntegrity();
109
110public:
111 QString bemname;
112 Eigen::Vector3f r0;
113 bool accurate;
114 QString mriname;
115
116 QString guessname;
118 float guess_rad;
122
123 QString noisename;
124 float grad_std;
125 float mag_std;
126 float eeg_std;
128
129 QString measname;
130 bool is_raw;
131 QString badname;
134 float tmin;
135 float tmax;
136 float tstep;
137 float integ;
138 float bmin;
139 float bmax;
141 int setno;
142 bool verbose;
144 QStringList projnames;
146
151 float mag_reg;
153
154 float grad_reg;
155 float eeg_reg;
156 QString dipname;
157 QString bdipname;
158
159 bool gui;
160
161private:
162 void initMembers();
163 void usage(const char* name);
164 bool check_unrecognized_args(int argc, char** argv);
165 bool check_args(int* argc, char** argv);
166};
167
168//=============================================================================================================
169// INLINE DEFINITIONS
170//=============================================================================================================
171} //NAMESPACE
172
173#endif // INV_DIPOLE_FIT_SETTINGS_H
Ordered set of INVLIB::InvEcd records — the result of a sequential dipole-fit run.
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
#define INVSHARED_EXPORT
Definition inv_global.h:38
Legacy MNE-C constants and shared typedefs used across MNELIB structures.
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
constexpr double BIG_TIME
QSharedPointer< InvDipoleFitSettings > SPtr
QSharedPointer< const InvDipoleFitSettings > ConstSPtr