Skip to content

Commit 5b2ea45

Browse files
committed
style: restore UPPER_SNAKE_CASE for constexpr constants
Keep original naming convention consistent with MNE toolbox standards. All former #define names preserved as-is, only changed from macro to constexpr.
1 parent 6239df9 commit 5b2ea45

File tree

16 files changed

+162
-162
lines changed

16 files changed

+162
-162
lines changed

src/applications/mne_browse/Delegates/rawdelegate.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,26 +68,26 @@ RawDelegate::RawDelegate(QObject *parent)
6868
, m_bShowSelectedEventsOnly(false)
6969
, m_bActivateEvents(true)
7070
, m_bRemoveDC(false)
71-
, m_dMaxValue(RawSettingsConstants::kDelegateInitialMaxValue)
71+
, m_dMaxValue(RawSettingsConstants::DELEGATE_INITIAL_MAX_VALUE)
7272
, m_dScaleY(1)
7373
{
74-
m_iDefaultPlotHeight = RawSettingsConstants::kDelegatePlotHeight;
75-
m_dDx = RawSettingsConstants::kDelegateDx;
76-
m_nhlines = RawSettingsConstants::kDelegateNHLines;
74+
m_iDefaultPlotHeight = RawSettingsConstants::DELEGATE_PLOT_HEIGHT;
75+
m_dDx = RawSettingsConstants::DELEGATE_DX;
76+
m_nhlines = RawSettingsConstants::DELEGATE_NHLINES;
7777

7878
m_pEventModel = nullptr;
7979
m_pEventView = nullptr;
8080
m_pRawView = nullptr;
8181

8282
//Init m_scaleMap
83-
m_scaleMap["MEG_grad"] = RawSettingsConstants::kDelegateScaleMegGrad;
84-
m_scaleMap["MEG_mag"] = RawSettingsConstants::kDelegateScaleMegMag;
85-
m_scaleMap["MEG_EEG"] = RawSettingsConstants::kDelegateScaleEeg;
86-
m_scaleMap["MEG_EOG"] = RawSettingsConstants::kDelegateScaleEog;
87-
m_scaleMap["MEG_EMG"] = RawSettingsConstants::kDelegateScaleEmg;
88-
m_scaleMap["MEG_ECG"] = RawSettingsConstants::kDelegateScaleEcg;
89-
m_scaleMap["MEG_MISC"] = RawSettingsConstants::kDelegateScaleMisc;
90-
m_scaleMap["MEG_STIM"] = RawSettingsConstants::kDelegateScaleStim;
83+
m_scaleMap["MEG_grad"] = RawSettingsConstants::DELEGATE_SCALE_MEG_GRAD;
84+
m_scaleMap["MEG_mag"] = RawSettingsConstants::DELEGATE_SCALE_MEG_MAG;
85+
m_scaleMap["MEG_EEG"] = RawSettingsConstants::DELEGATE_SCALE_EEG;
86+
m_scaleMap["MEG_EOG"] = RawSettingsConstants::DELEGATE_SCALE_EOG;
87+
m_scaleMap["MEG_EMG"] = RawSettingsConstants::DELEGATE_SCALE_EMG;
88+
m_scaleMap["MEG_ECG"] = RawSettingsConstants::DELEGATE_SCALE_ECG;
89+
m_scaleMap["MEG_MISC"] = RawSettingsConstants::DELEGATE_SCALE_MISC;
90+
m_scaleMap["MEG_STIM"] = RawSettingsConstants::DELEGATE_SCALE_STIM;
9191
}
9292

9393

@@ -222,7 +222,7 @@ void RawDelegate::createPlotPath(const QModelIndex &index, const QStyleOptionVie
222222
//get maximum range of respective channel type (range value in FiffChInfo does not seem to contain a reasonable value)
223223
const RawModel* t_model = static_cast<const RawModel*>(index.model());
224224
qint32 kind = t_model->channelInfoList()[index.row()].kind;
225-
double dMaxValue = RawSettingsConstants::kDelegateFallbackScale;
225+
double dMaxValue = RawSettingsConstants::DELEGATE_FALLBACK_SCALE;
226226

227227
switch(kind) {
228228
case FIFFV_MEG_CH: {
@@ -315,7 +315,7 @@ void RawDelegate::plotEvents(const QModelIndex &index, const QStyleOptionViewIte
315315
qint32 sampleRangeHigh = sampleRangeLow + rawModel->sizeOfPreloadedData();
316316

317317
QPen pen;
318-
pen.setWidth(RawSettingsConstants::kEventMarkerWidth);
318+
pen.setWidth(RawSettingsConstants::EVENT_MARKER_WIDTH);
319319

320320
QColor colorTemp;
321321

@@ -331,12 +331,12 @@ void RawDelegate::plotEvents(const QModelIndex &index, const QStyleOptionViewIte
331331
pen.setColor(eventTypeColor.value(type, Qt::black));
332332

333333
colorTemp = pen.color();
334-
colorTemp.setAlpha(RawSettingsConstants::kEventMarkerOpacity);
334+
colorTemp.setAlpha(RawSettingsConstants::EVENT_MARKER_OPACITY);
335335
pen.setColor(colorTemp);
336336
painter->setPen(pen);
337337

338338
//Draw line from sample position (x) and highest to lowest y position of the column widget - Add -m_qSettings.value("EventDesignParameters/event_marker_width").toInt() to avoid painting ovre the edge of the column widget
339-
painter->drawLine(option.rect.x() + sampleValue, option.rect.y(), option.rect.x() + sampleValue, option.rect.y() + option.rect.height() - RawSettingsConstants::kEventMarkerWidth);
339+
painter->drawLine(option.rect.x() + sampleValue, option.rect.y(), option.rect.x() + sampleValue, option.rect.y() + option.rect.height() - RawSettingsConstants::EVENT_MARKER_WIDTH);
340340
} // END for statement
341341
} // END if statement event in data range
342342
} // END if statement plot all
@@ -354,12 +354,12 @@ void RawDelegate::plotEvents(const QModelIndex &index, const QStyleOptionViewIte
354354
pen.setColor(eventTypeColor.value(type, Qt::black));
355355

356356
colorTemp = pen.color();
357-
colorTemp.setAlpha(RawSettingsConstants::kEventMarkerOpacity);
357+
colorTemp.setAlpha(RawSettingsConstants::EVENT_MARKER_OPACITY);
358358
pen.setColor(colorTemp);
359359
painter->setPen(pen);
360360

361361
//Draw line from sample position (x) and highest to lowest y position of the column widget - Add +m_qSettings.value("EventDesignParameters/event_marker_width").toInt() to avoid painting ovre the edge of the column widget
362-
painter->drawLine(option.rect.x() + sampleValue, option.rect.y(), option.rect.x() + sampleValue, option.rect.y() - option.rect.height() + RawSettingsConstants::kEventMarkerWidth);
362+
painter->drawLine(option.rect.x() + sampleValue, option.rect.y(), option.rect.x() + sampleValue, option.rect.y() - option.rect.height() + RawSettingsConstants::EVENT_MARKER_WIDTH);
363363
} // END for statement
364364
} // END if statement
365365
} // END else statement

src/applications/mne_browse/Models/eventmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ QVariant EventModel::data(const QModelIndex &index, int role) const
235235
brush.setColor(m_eventTypeColor.value(m_dataTypes_Filtered.at(index.row()), Qt::black));
236236

237237
QColor colorTemp = brush.color();
238-
colorTemp.setAlpha(RawSettingsConstants::kEventMarkerOpacity);
238+
colorTemp.setAlpha(RawSettingsConstants::EVENT_MARKER_OPACITY);
239239
brush.setColor(colorTemp);
240240
return QVariant(brush);
241241
}

src/applications/mne_browse/Models/rawmodel.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ RawModel::RawModel(QObject *parent)
9090
, m_iAbsFiffCursor(0)
9191
, m_iCurAbsScrollPos(0)
9292
{
93-
m_iWindowSize = RawSettingsConstants::kModelWindowSize;
94-
m_reloadPos = RawSettingsConstants::kModelReloadPos;
95-
m_maxWindows = RawSettingsConstants::kModelMaxWindows;
96-
m_iFilterTaps = RawSettingsConstants::kModelNumFilterTaps;
93+
m_iWindowSize = RawSettingsConstants::MODEL_WINDOW_SIZE;
94+
m_reloadPos = RawSettingsConstants::MODEL_RELOAD_POS;
95+
m_maxWindows = RawSettingsConstants::MODEL_MAX_WINDOWS;
96+
m_iFilterTaps = RawSettingsConstants::MODEL_NUM_FILTER_TAPS;
9797

9898
//Set default sampling freq to 1024
9999
m_pFiffInfo->sfreq = 1024;
@@ -131,10 +131,10 @@ RawModel::RawModel(QFile &qFile, QObject *parent)
131131
, m_pfiffIO(QSharedPointer<FiffIO>(new FiffIO()))
132132
, m_filterChType("All")
133133
{
134-
m_iWindowSize = RawSettingsConstants::kModelWindowSize;
135-
m_reloadPos = RawSettingsConstants::kModelReloadPos;
136-
m_maxWindows = RawSettingsConstants::kModelMaxWindows;
137-
m_iFilterTaps = RawSettingsConstants::kModelNumFilterTaps;
134+
m_iWindowSize = RawSettingsConstants::MODEL_WINDOW_SIZE;
135+
m_reloadPos = RawSettingsConstants::MODEL_RELOAD_POS;
136+
m_maxWindows = RawSettingsConstants::MODEL_MAX_WINDOWS;
137+
m_iFilterTaps = RawSettingsConstants::MODEL_NUM_FILTER_TAPS;
138138

139139
//read fiff data
140140
loadFiffData(&qFile);

src/applications/mne_browse/Utils/butterflysceneitem.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ ButterflySceneItem::ButterflySceneItem(QString setName, int setKind, int setUnit
6565
, m_pFiffInfo(Q_NULLPTR)
6666
{
6767
//Init m_scaleMap
68-
m_scaleMap["MEG_grad"] = RawSettingsConstants::kDelegateScaleMegGrad;
69-
m_scaleMap["MEG_mag"] = RawSettingsConstants::kDelegateScaleMegMag;
70-
m_scaleMap["MEG_EEG"] = RawSettingsConstants::kDelegateScaleEeg;
71-
m_scaleMap["MEG_EOG"] = RawSettingsConstants::kDelegateScaleEog;
72-
m_scaleMap["MEG_EMG"] = RawSettingsConstants::kDelegateScaleEmg;
73-
m_scaleMap["MEG_ECG"] = RawSettingsConstants::kDelegateScaleEcg;
74-
m_scaleMap["MEG_MISC"] = RawSettingsConstants::kDelegateScaleMisc;
75-
m_scaleMap["MEG_STIM"] = RawSettingsConstants::kDelegateScaleStim;
68+
m_scaleMap["MEG_grad"] = RawSettingsConstants::DELEGATE_SCALE_MEG_GRAD;
69+
m_scaleMap["MEG_mag"] = RawSettingsConstants::DELEGATE_SCALE_MEG_MAG;
70+
m_scaleMap["MEG_EEG"] = RawSettingsConstants::DELEGATE_SCALE_EEG;
71+
m_scaleMap["MEG_EOG"] = RawSettingsConstants::DELEGATE_SCALE_EOG;
72+
m_scaleMap["MEG_EMG"] = RawSettingsConstants::DELEGATE_SCALE_EMG;
73+
m_scaleMap["MEG_ECG"] = RawSettingsConstants::DELEGATE_SCALE_ECG;
74+
m_scaleMap["MEG_MISC"] = RawSettingsConstants::DELEGATE_SCALE_MISC;
75+
m_scaleMap["MEG_STIM"] = RawSettingsConstants::DELEGATE_SCALE_STIM;
7676
}
7777

7878

@@ -125,10 +125,10 @@ double ButterflySceneItem::yToAmplitude(double sceneY) const
125125
const QRectF pa = plotArea();
126126
double dMaxValue = 1e-09;
127127
if(m_iSetKind == FIFFV_MEG_CH) {
128-
dMaxValue = (m_iSetUnit == FIFF_UNIT_T_M) ? m_scaleMap.value("MEG_grad", RawSettingsConstants::kDelegateScaleMegGrad)
129-
: m_scaleMap.value("MEG_mag", RawSettingsConstants::kDelegateScaleMegMag);
128+
dMaxValue = (m_iSetUnit == FIFF_UNIT_T_M) ? m_scaleMap.value("MEG_grad", RawSettingsConstants::DELEGATE_SCALE_MEG_GRAD)
129+
: m_scaleMap.value("MEG_mag", RawSettingsConstants::DELEGATE_SCALE_MEG_MAG);
130130
} else if(m_iSetKind == FIFFV_EEG_CH) {
131-
dMaxValue = m_scaleMap.value("MEG_EEG", RawSettingsConstants::kDelegateScaleEeg);
131+
dMaxValue = m_scaleMap.value("MEG_EEG", RawSettingsConstants::DELEGATE_SCALE_EEG);
132132
}
133133
const double centerY = pa.y() + pa.height() / 2.0;
134134
return -(sceneY - centerY) / (pa.height() / (2.0 * dMaxValue));
@@ -214,14 +214,14 @@ void ButterflySceneItem::paintAxes(QPainter *painter)
214214
QString yUnitLabel;
215215
if(m_iSetKind == FIFFV_MEG_CH) {
216216
if(m_iSetUnit == FIFF_UNIT_T_M) {
217-
dMaxValue = m_scaleMap.value("MEG_grad", RawSettingsConstants::kDelegateScaleMegGrad);
217+
dMaxValue = m_scaleMap.value("MEG_grad", RawSettingsConstants::DELEGATE_SCALE_MEG_GRAD);
218218
yUnitLabel = "fT/cm";
219219
} else {
220-
dMaxValue = m_scaleMap.value("MEG_mag", RawSettingsConstants::kDelegateScaleMegMag);
220+
dMaxValue = m_scaleMap.value("MEG_mag", RawSettingsConstants::DELEGATE_SCALE_MEG_MAG);
221221
yUnitLabel = "fT";
222222
}
223223
} else if(m_iSetKind == FIFFV_EEG_CH) {
224-
dMaxValue = m_scaleMap.value("MEG_EEG", RawSettingsConstants::kDelegateScaleEeg);
224+
dMaxValue = m_scaleMap.value("MEG_EEG", RawSettingsConstants::DELEGATE_SCALE_EEG);
225225
yUnitLabel = QStringLiteral("\u00B5V"); // µV
226226
}
227227

src/applications/mne_browse/Utils/datamarker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void DataMarker::setMarkerColor(const QColor &color)
7777
{
7878
QPalette pal(palette());
7979
QColor alphaColor = color;
80-
alphaColor.setAlpha(RawSettingsConstants::kDataMarkerOpacity);
80+
alphaColor.setAlpha(RawSettingsConstants::DATA_MARKER_OPACITY);
8181
pal.setColor(QPalette::Window, alphaColor);
8282
setAutoFillBackground(true);
8383
setPalette(pal);

src/applications/mne_browse/Utils/rawsettings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ void RawSettings::init()
131131
{
132132
//Window settings - load from QSettings if previously stored, otherwise use defaults
133133
m_qSettings.beginGroup("MainWindow");
134-
QSize storedSize = m_qSettings.value("size", QSize(RawSettingsConstants::kMainWindowSizeW, RawSettingsConstants::kMainWindowSizeH)).toSize();
134+
QSize storedSize = m_qSettings.value("size", QSize(RawSettingsConstants::MAINWINDOW_WINDOW_SIZE_W, RawSettingsConstants::MAINWINDOW_WINDOW_SIZE_H)).toSize();
135135
m_mainwindow_size_w = storedSize.width();
136136
m_mainwindow_size_h = storedSize.height();
137-
QPoint storedPos = m_qSettings.value("position", QPoint(RawSettingsConstants::kMainWindowPositionX, RawSettingsConstants::kMainWindowPositionY)).toPoint();
137+
QPoint storedPos = m_qSettings.value("position", QPoint(RawSettingsConstants::MAINWINDOW_WINDOW_POSITION_X, RawSettingsConstants::MAINWINDOW_WINDOW_POSITION_Y)).toPoint();
138138
m_mainwindow_position_x = storedPos.x();
139139
m_mainwindow_position_y = storedPos.y();
140140
m_qSettings.endGroup();

src/applications/mne_browse/Utils/rawsettings.h

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -70,59 +70,59 @@
7070
namespace RawSettingsConstants {
7171

7272
//MainWindow
73-
inline constexpr int kMainWindowSizeW = 1200; ///< Width of MainWindow
74-
inline constexpr int kMainWindowSizeH = 800; ///< Height of MainWindow
75-
inline constexpr int kMainWindowPositionX = 50; ///< Initial window position x
76-
inline constexpr int kMainWindowPositionY = 50; ///< Initial window position y
73+
inline constexpr int MAINWINDOW_WINDOW_SIZE_W = 1200; ///< Width of MainWindow
74+
inline constexpr int MAINWINDOW_WINDOW_SIZE_H = 800; ///< Height of MainWindow
75+
inline constexpr int MAINWINDOW_WINDOW_POSITION_X = 50; ///< Initial window position x
76+
inline constexpr int MAINWINDOW_WINDOW_POSITION_Y = 50; ///< Initial window position y
7777

7878
//RawModel
79-
inline constexpr int kModelWindowSize = 4016; ///< Length of data window to preload [samples]. Must satisfy (value + kModelNumFilterTaps) = 2^n
80-
inline constexpr int kModelReloadPos = 2000; ///< Distance from window edge triggering reload [samples]
81-
inline constexpr int kModelMaxWindows = 3; ///< Maximum number of preloaded windows
82-
inline constexpr int kModelNumFilterTaps = 80; ///< Filter tap count for FFT zero-padding
83-
inline constexpr int kModelMaxNumFilterTaps = 0; ///< Maximum filter tap count
79+
inline constexpr int MODEL_WINDOW_SIZE = 4016; ///< Length of data window to preload [samples]. Must satisfy (value + MODEL_NUM_FILTER_TAPS) = 2^n
80+
inline constexpr int MODEL_RELOAD_POS = 2000; ///< Distance from window edge triggering reload [samples]
81+
inline constexpr int MODEL_MAX_WINDOWS = 3; ///< Maximum number of preloaded windows
82+
inline constexpr int MODEL_NUM_FILTER_TAPS = 80; ///< Filter tap count for FFT zero-padding
83+
inline constexpr int MODEL_MAX_NUM_FILTER_TAPS = 0; ///< Maximum filter tap count
8484

8585
//RawDelegate — Layout
86-
inline constexpr int kDelegatePlotHeight = 40; ///< Height of a single channel row [pixels]
87-
inline constexpr int kDelegateDx = 1; ///< Pixels per sample → plot resolution
88-
inline constexpr int kDelegateNHLines = 6; ///< Horizontal grid lines per row
86+
inline constexpr int DELEGATE_PLOT_HEIGHT = 40; ///< Height of a single channel row [pixels]
87+
inline constexpr int DELEGATE_DX = 1; ///< Pixels per sample → plot resolution
88+
inline constexpr int DELEGATE_NHLINES = 6; ///< Horizontal grid lines per row
8989

9090
//RawDelegate — Maximum channel amplitudes (by FiffChInfo type)
91-
inline constexpr double kDelegateMaxMegGrad = 1e-10; ///< kind=FIFFV_MEG_CH, unit=FIFF_UNIT_T_M
92-
inline constexpr double kDelegateMaxMegMag = 1e-11; ///< kind=FIFFV_MEG_CH, unit=FIFF_UNIT_T
93-
inline constexpr double kDelegateMaxEeg = 1e-4; ///< kind=FIFFV_EEG_CH
94-
inline constexpr double kDelegateMaxEog = 1e-3; ///< kind=FIFFV_EOG_CH
95-
inline constexpr double kDelegateMaxStim = 5.0; ///< kind=FIFFV_STIM_CH
91+
inline constexpr double DELEGATE_MAX_MEG_GRAD = 1e-10; ///< kind=FIFFV_MEG_CH, unit=FIFF_UNIT_T_M
92+
inline constexpr double DELEGATE_MAX_MEG_MAG = 1e-11; ///< kind=FIFFV_MEG_CH, unit=FIFF_UNIT_T
93+
inline constexpr double DELEGATE_MAX_EEG = 1e-4; ///< kind=FIFFV_EEG_CH
94+
inline constexpr double DELEGATE_MAX_EOG = 1e-3; ///< kind=FIFFV_EOG_CH
95+
inline constexpr double DELEGATE_MAX_STIM = 5.0; ///< kind=FIFFV_STIM_CH
9696

9797
//Event markers
98-
inline constexpr int kEventMarkerWidth = 3; ///< Event marker width [pixels]
99-
inline constexpr int kEventMarkerOpacity = 110; ///< Event marker opacity [0..255]
98+
inline constexpr int EVENT_MARKER_WIDTH = 3; ///< Event marker width [pixels]
99+
inline constexpr int EVENT_MARKER_OPACITY = 110; ///< Event marker opacity [0..255]
100100

101101
//Data markers
102-
inline constexpr int kDataMarkerWidth = 3; ///< Data marker width [pixels]
103-
inline constexpr int kDataMarkerOpacity = 200; ///< Data marker opacity [0..255]
104-
inline constexpr int kDataMarkerInitialX = 74; ///< Initial x position after file load [pixels]
105-
inline constexpr int kDataMarkerLabelVOffset = 20; ///< Label offset above marker line [pixels]
102+
inline constexpr int DATA_MARKER_WIDTH = 3; ///< Data marker width [pixels]
103+
inline constexpr int DATA_MARKER_OPACITY = 200; ///< Data marker opacity [0..255]
104+
inline constexpr int DATA_MARKER_INITIAL_X = 74; ///< Initial x position after file load [pixels]
105+
inline constexpr int DATA_MARKER_LABEL_V_OFFSET = 20; ///< Label offset above marker line [pixels]
106106

107107
//RawDelegate — Initial/fallback scaling
108-
inline constexpr double kDelegateInitialMaxValue = 65530.0; ///< Placeholder max before file load
109-
inline constexpr double kDelegateFallbackScale = 1e-9; ///< Fallback for unknown channel types
108+
inline constexpr double DELEGATE_INITIAL_MAX_VALUE = 65530.0; ///< Placeholder max before file load
109+
inline constexpr double DELEGATE_FALLBACK_SCALE = 1e-9; ///< Fallback for unknown channel types
110110

111111
//Keyboard navigation
112-
inline constexpr int kRawViewKeyScrollStep = 25; ///< Pixels per Left/Right key press
112+
inline constexpr int RAWVIEW_KEYBOARD_SCROLL_STEP = 25; ///< Pixels per Left/Right key press
113113

114114
//Filter design
115-
inline constexpr double kFilterDefaultTransBWRatio = 0.2; ///< Transition-band width as fraction of Nyquist
115+
inline constexpr double FILTER_DEFAULT_TRANS_BW_RATIO = 0.2; ///< Transition-band width as fraction of Nyquist
116116

117117
//Default channel amplitude scales (for scale map initialization)
118-
inline constexpr double kDelegateScaleMegGrad = 400e-15 * 100; ///< fT/m (×100 because FIFF stores fT/cm)
119-
inline constexpr double kDelegateScaleMegMag = 1.2e-12;
120-
inline constexpr double kDelegateScaleEeg = 30e-6;
121-
inline constexpr double kDelegateScaleEog = 150e-6;
122-
inline constexpr double kDelegateScaleEmg = 1e-3;
123-
inline constexpr double kDelegateScaleEcg = 1e-3;
124-
inline constexpr double kDelegateScaleMisc = 1.0;
125-
inline constexpr double kDelegateScaleStim = 5.0;
118+
inline constexpr double DELEGATE_SCALE_MEG_GRAD = 400e-15 * 100; ///< fT/m (×100 because FIFF stores fT/cm)
119+
inline constexpr double DELEGATE_SCALE_MEG_MAG = 1.2e-12;
120+
inline constexpr double DELEGATE_SCALE_EEG = 30e-6;
121+
inline constexpr double DELEGATE_SCALE_EOG = 150e-6;
122+
inline constexpr double DELEGATE_SCALE_EMG = 1e-3;
123+
inline constexpr double DELEGATE_SCALE_ECG = 1e-3;
124+
inline constexpr double DELEGATE_SCALE_MISC = 1.0;
125+
inline constexpr double DELEGATE_SCALE_STIM = 5.0;
126126

127127
} // namespace RawSettingsConstants
128128

0 commit comments

Comments
 (0)