36 #ifndef HPISETTINGSVIEW_H
37 #define HPISETTINGSVIEW_H
43 #include "../disp_global.h"
51 #include <QJsonDocument>
64 class HpiSettingsViewWidget;
68 class FiffDigPointSet;
98 Qt::WindowFlags f = Qt::Widget);
109 void setErrorLabels(
const QVector<double>& vError,
110 const double dMeanErrorDist);
120 void setGoFLabels(
const Eigen::VectorXd & vGoF,
121 const double dMeanGof);
130 void setMovementResults(
double dMovement,
139 bool getSspStatusChanged();
147 bool getCompStatusChanged();
155 double getAllowedMeanErrorDistChanged();
163 double getAllowedMovementChanged();
171 double getAllowedRotationChanged();
179 bool continuousHPIChecked();
187 int getFittingWindowSize();
195 void newDigitizerList(QList<FIFFLIB::FiffDigPoint> pointList);
203 void loadCoilPresets(
const QString& sFilePath);
230 void updateGuiMode(GuiMode mode);
238 void updateProcessingMode(ProcessingMode mode);
244 void onLoadDigitizers();
253 void onFrequencyCellChanged(
int row,
272 QList<FIFFLIB::FiffDigPoint> readDigitizersFromFile(
const QString& fileName);
280 void setupCoilPresets(
int iNumCoils);
288 void populatePresetGUI(
const QJsonArray& presetData);
294 void populateCoilGUI();
302 void selectCoilPreset(
int iCoilPresetIndex);
310 void addCoilFreqToGUI(
int iCoilFreq);
316 void addCoilErrorToGUI();
347 void coilFrequenciesChanged(
const QVector<int>& vCoilFreqs);
356 void digitizersChanged(
const QList<FIFFLIB::FiffDigPoint>& lDigitzers,
357 const QString& sFilePath);
369 void doSingleHpiFit();
377 void sspStatusChanged(
bool bChecked);
385 void compStatusChanged(
bool bChecked);
393 void contHpiStatusChanged(
bool bChecked);
401 void fittingWindowSizeChanged(
int iFitsPerSecond);
409 void allowedMeanErrorDistChanged(
double dAllowedMeanErrorDist);
417 void allowedMovementChanged(
double dAllowedMovement);
425 void allowedRotationChanged(
double dAllowedRotation);
430 #endif // HPISETTINGSVIEW_H