MNE-CPP  0.1.9
A Framework for Electrophysiology
dipole_fit_settings.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef DIPOLEFITSETTINGS_H
38 #define DIPOLEFITSETTINGS_H
39 
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include "../inverse_global.h"
45 #include "ecd_set.h"
46 
47 #include <mne/c/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 INVERSELIB
66 //=============================================================================================================
67 
68 namespace INVERSELIB
69 {
70 
71 //=============================================================================================================
72 // FORWARD DECLARATIONS
73 //=============================================================================================================
74 
75 //=============================================================================================================
82 {
83 public:
84  typedef QSharedPointer<DipoleFitSettings> SPtr;
85  typedef QSharedPointer<const DipoleFitSettings> ConstSPtr;
87  //=========================================================================================================
91  explicit DipoleFitSettings();
92 
93  //=========================================================================================================
100  explicit DipoleFitSettings(int *argc,char **argv);
101 
102  //=========================================================================================================
106  virtual ~DipoleFitSettings();
107 
108  //=========================================================================================================
112  void checkIntegrity();
113 
114 public:
115  QString bemname;
116  Eigen::Vector3f r0;
117  bool accurate;
118  QString mriname;
120  QString guessname;
121  QString guess_surfname;
122 float guess_rad;
125  float guess_grid;
127  QString noisename;
128  float grad_std;
129  float mag_std;
130  float eeg_std;
131  bool diagnoise;
133  QString measname;
134  bool is_raw;
135  char *badname;
136  bool include_meg;
137  bool include_eeg;
138  float tmin;
139  float tmax;
140  float tstep;
141  float integ;
142  float bmin;
143  float bmax;
144  bool do_baseline;
145  int setno;
146  bool verbose;
148  QStringList projnames;
149  bool omit_data_proj;
150 
151  QString eeg_model_file;
152  QString eeg_model_name;
155  float mag_reg;
156  bool fit_mag_dipoles;
157 
158  float grad_reg;
159  float eeg_reg;
160  QString dipname;
161  QString bdipname;
163  bool gui;
165 private:
166  void initMembers();
167  void usage(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 // DIPOLEFITSETTINGS_H
INVERSELIB::DipoleFitSettings::guess_surfname
QString guess_surfname
Definition: dipole_fit_settings.h:121
INVERSELIB::DipoleFitSettings::guess_rad
float guess_rad
Definition: dipole_fit_settings.h:122
INVERSELIB::DipoleFitSettings::do_baseline
bool do_baseline
Definition: dipole_fit_settings.h:144
INVERSELIB::DipoleFitSettings::grad_reg
float grad_reg
Definition: dipole_fit_settings.h:158
INVERSESHARED_EXPORT
#define INVERSESHARED_EXPORT
Definition: inverse_global.h:56
INVERSELIB::DipoleFitSettings::dipname
QString dipname
Definition: dipole_fit_settings.h:160
MNELIB::mneFilterDef
Definition: mne_types.h:576
INVERSELIB::DipoleFitSettings::noisename
QString noisename
Definition: dipole_fit_settings.h:127
INVERSELIB::DipoleFitSettings::SPtr
QSharedPointer< DipoleFitSettings > SPtr
Definition: dipole_fit_settings.h:84
INVERSELIB::DipoleFitSettings::tmin
float tmin
Definition: dipole_fit_settings.h:138
INVERSELIB::DipoleFitSettings::include_meg
bool include_meg
Definition: dipole_fit_settings.h:136
ecd_set.h
FiffDigPointSet class declaration.
INVERSELIB::DipoleFitSettings::eeg_sphere_rad
float eeg_sphere_rad
Definition: dipole_fit_settings.h:153
INVERSELIB::DipoleFitSettings::accurate
bool accurate
Definition: dipole_fit_settings.h:117
INVERSELIB::DipoleFitSettings::measname
QString measname
Definition: dipole_fit_settings.h:133
INVERSELIB::DipoleFitSettings::bemname
QString bemname
Definition: dipole_fit_settings.h:115
INVERSELIB::DipoleFitSettings::guessname
QString guessname
Definition: dipole_fit_settings.h:120
INVERSELIB::DipoleFitSettings::eeg_reg
float eeg_reg
Definition: dipole_fit_settings.h:159
INVERSELIB::DipoleFitSettings::grad_std
float grad_std
Definition: dipole_fit_settings.h:128
INVERSELIB::DipoleFitSettings::gui
bool gui
Definition: dipole_fit_settings.h:163
INVERSELIB::DipoleFitSettings::eeg_model_file
QString eeg_model_file
Definition: dipole_fit_settings.h:151
INVERSELIB::DipoleFitSettings::projnames
QStringList projnames
Definition: dipole_fit_settings.h:148
INVERSELIB::DipoleFitSettings::badname
char * badname
Definition: dipole_fit_settings.h:135
INVERSELIB::DipoleFitSettings::setno
int setno
Definition: dipole_fit_settings.h:145
INVERSELIB::DipoleFitSettings::bdipname
QString bdipname
Definition: dipole_fit_settings.h:161
INVERSELIB::DipoleFitSettings::eeg_model_name
QString eeg_model_name
Definition: dipole_fit_settings.h:152
INVERSELIB::DipoleFitSettings::bmin
float bmin
Definition: dipole_fit_settings.h:142
INVERSELIB::DipoleFitSettings::scale_eeg_pos
bool scale_eeg_pos
Definition: dipole_fit_settings.h:154
INVERSELIB::DipoleFitSettings::tstep
float tstep
Definition: dipole_fit_settings.h:140
INVERSELIB::DipoleFitSettings::ConstSPtr
QSharedPointer< const DipoleFitSettings > ConstSPtr
Definition: dipole_fit_settings.h:85
INVERSELIB::DipoleFitSettings::diagnoise
bool diagnoise
Definition: dipole_fit_settings.h:131
INVERSELIB::DipoleFitSettings::r0
Eigen::Vector3f r0
Definition: dipole_fit_settings.h:116
INVERSELIB::DipoleFitSettings::is_raw
bool is_raw
Definition: dipole_fit_settings.h:134
INVERSELIB::DipoleFitSettings::guess_mindist
float guess_mindist
Definition: dipole_fit_settings.h:123
INVERSELIB::DipoleFitSettings
Dipole Fit setting implementation.
Definition: dipole_fit_settings.h:81
INVERSELIB::DipoleFitSettings::guess_grid
float guess_grid
Definition: dipole_fit_settings.h:125
INVERSELIB::DipoleFitSettings::mag_reg
float mag_reg
Definition: dipole_fit_settings.h:155
INVERSELIB::DipoleFitSettings::include_eeg
bool include_eeg
Definition: dipole_fit_settings.h:137
INVERSELIB::DipoleFitSettings::mriname
QString mriname
Definition: dipole_fit_settings.h:118
INVERSELIB::DipoleFitSettings::guess_exclude
float guess_exclude
Definition: dipole_fit_settings.h:124