Skip to content

Commit ac14b0c

Browse files
author
Arthur Glowacki
committed
Added str def for polarity pattern
1 parent ef75a8e commit ac14b0c

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/data_struct/params_override.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class DLL_EXPORT Params_Override
9393
ge_dead_layer = "0.0";
9494
airpath = "0";
9595
theta_pv = "";
96+
polarity_pattern = "";
9697
}
9798

9899
Params_Override(std::string dir, int detector)
@@ -116,6 +117,7 @@ class DLL_EXPORT Params_Override
116117
dataset_directory = dir;
117118
detector_num = detector;
118119
detector_element = "Si";
120+
polarity_pattern = "";
119121
}
120122

121123
~Params_Override()
@@ -245,6 +247,8 @@ class DLL_EXPORT Params_Override
245247
T_real ds_amp_sens_num;
246248
std::string ds_amp_sens_unit;
247249

250+
std::string polarity_pattern;
251+
248252
};
249253

250254
TEMPLATE_CLASS_DLL_EXPORT Params_Override<float>;

src/data_struct/scan_info.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ struct Scan_Meta_Info
9292
std::string name;
9393
std::string scan_time_stamp;
9494
std::string scan_type;
95+
std::string polarity_pattern;
9596
ArrayTr<T_real> x_axis;
9697
ArrayTr<T_real> y_axis;
9798
int requested_cols;

0 commit comments

Comments
 (0)