v2.0.0
Loading...
Searching...
No Matches
inv_dipole_fit_settings.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef INV_DIPOLE_FIT_SETTINGS_H
38#define INV_DIPOLE_FIT_SETTINGS_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "../inv_global.h"
45#include "inv_ecd_set.h"
46
47#include <mne/mne_types.h>
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53#include <Eigen/Core>
54
55//=============================================================================================================
56// QT INCLUDES
57//=============================================================================================================
58
59#include <QSharedPointer>
60#include <QStringList>
61
62//=============================================================================================================
63// DEFINE NAMESPACE INVLIB
64//=============================================================================================================
65
66namespace INVLIB
67{
68
69//=============================================================================================================
70// CONSTANTS
71//=============================================================================================================
72
73inline constexpr double BIG_TIME = 1e6;
74
75//=============================================================================================================
76// FORWARD DECLARATIONS
77//=============================================================================================================
78
79//=============================================================================================================
86{
87public:
88 typedef QSharedPointer<InvDipoleFitSettings> SPtr;
89 typedef QSharedPointer<const InvDipoleFitSettings> ConstSPtr;
90
91 //=========================================================================================================
95 explicit InvDipoleFitSettings();
96
97 //=========================================================================================================
104 explicit InvDipoleFitSettings(int *argc,char **argv);
105
106 //=========================================================================================================
110 virtual ~InvDipoleFitSettings();
111
112 //=========================================================================================================
116 void checkIntegrity();
117
118public:
119 QString bemname;
120 Eigen::Vector3f r0;
121 bool accurate;
122 QString mriname;
123
124 QString guessname;
126 float guess_rad;
130
131 QString noisename;
132 float grad_std;
133 float mag_std;
134 float eeg_std;
136
137 QString measname;
138 bool is_raw;
139 QString badname;
142 float tmin;
143 float tmax;
144 float tstep;
145 float integ;
146 float bmin;
147 float bmax;
149 int setno;
150 bool verbose;
152 QStringList projnames;
154
159 float mag_reg;
161
162 float grad_reg;
163 float eeg_reg;
164 QString dipname;
165 QString bdipname;
166
167 bool gui;
168
169private:
170 void initMembers();
171 void usage(const char *name);
172 bool check_unrecognized_args(int argc, char **argv);
173 bool check_args (int *argc,char **argv);
174};
175
176//=============================================================================================================
177// INLINE DEFINITIONS
178//=============================================================================================================
179} //NAMESPACE
180
181#endif // INV_DIPOLE_FIT_SETTINGS_H
inverse library export/import macros.
#define INVSHARED_EXPORT
Definition inv_global.h:52
FiffDigPointSet class declaration.
Legacy MNE-C constants and common typedefs.
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
constexpr double BIG_TIME
QSharedPointer< InvDipoleFitSettings > SPtr
QSharedPointer< const InvDipoleFitSettings > ConstSPtr