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 //=========================================================================================================
106 void checkIntegrity();
107
108public:
109 QString bemname;
110 Eigen::Vector3f r0;
111 bool accurate;
112 QString mriname;
113
114 QString guessname;
116 float guess_rad;
120
121 QString noisename;
122 float grad_std;
123 float mag_std;
124 float eeg_std;
126
127 QString measname;
128 bool is_raw;
129 QString badname;
132 float tmin;
133 float tmax;
134 float tstep;
135 float integ;
136 float bmin;
137 float bmax;
139 int setno;
140 bool verbose;
142 QStringList projnames;
144
149 float mag_reg;
151
152 float grad_reg;
153 float eeg_reg;
154 QString dipname;
155 QString bdipname;
156
157 bool gui;
158
159private:
160 void initMembers();
161 void usage(const char *name);
162 bool check_unrecognized_args(int argc, char **argv);
163 bool check_args (int *argc,char **argv);
164};
165
166//=============================================================================================================
167// INLINE DEFINITIONS
168//=============================================================================================================
169} //NAMESPACE
170
171#endif // INV_DIPOLE_FIT_SETTINGS_H
Legacy MNE-C constants and shared typedefs used across MNELIB structures.
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
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
constexpr double BIG_TIME
QSharedPointer< InvDipoleFitSettings > SPtr
QSharedPointer< const InvDipoleFitSettings > ConstSPtr