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#define BIG_TIME 1e6
63
64//=============================================================================================================
65// DEFINE NAMESPACE INVLIB
66//=============================================================================================================
67
68namespace INVLIB
69{
70
71//=============================================================================================================
72// FORWARD DECLARATIONS
73//=============================================================================================================
74
75//=============================================================================================================
82{
83public:
84 typedef QSharedPointer<InvDipoleFitSettings> SPtr;
85 typedef QSharedPointer<const InvDipoleFitSettings> ConstSPtr;
86
87 //=========================================================================================================
91 explicit InvDipoleFitSettings();
92
93 //=========================================================================================================
100 explicit InvDipoleFitSettings(int *argc,char **argv);
101
102 //=========================================================================================================
106 virtual ~InvDipoleFitSettings();
107
108 //=========================================================================================================
112 void checkIntegrity();
113
114public:
115 QString bemname;
116 Eigen::Vector3f r0;
117 bool accurate;
118 QString mriname;
119
120 QString guessname;
122 float guess_rad;
126
127 QString noisename;
128 float grad_std;
129 float mag_std;
130 float eeg_std;
132
133 QString measname;
134 bool is_raw;
135 QString badname;
138 float tmin;
139 float tmax;
140 float tstep;
141 float integ;
142 float bmin;
143 float bmax;
145 int setno;
146 bool verbose;
148 QStringList projnames;
150
155 float mag_reg;
157
158 float grad_reg;
159 float eeg_reg;
160 QString dipname;
161 QString bdipname;
162
163 bool gui;
164
165private:
166 void initMembers();
167 void usage(const char *name);
168 bool check_unrecognized_args(int argc, char **argv);
169 bool check_args (int *argc,char **argv);
170};
171
172//=============================================================================================================
173// INLINE DEFINITIONS
174//=============================================================================================================
175} //NAMESPACE
176
177#endif // INV_DIPOLE_FIT_SETTINGS_H
FiffDigPointSet class declaration.
inverse library export/import macros.
#define INVSHARED_EXPORT
Definition inv_global.h:52
Legacy MNE-C constants and common typedefs.
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
QSharedPointer< InvDipoleFitSettings > SPtr
QSharedPointer< const InvDipoleFitSettings > ConstSPtr