Skip to content

Commit 90a1cea

Browse files
author
Arthur Glowacki
committed
Updated loading polar xanes scans
1 parent b1404ea commit 90a1cea

4 files changed

Lines changed: 288 additions & 79 deletions

File tree

src/core/defines.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ const std::string STR_FIT_GAUSS_MATRIX = "Fitted";
210210
const std::string STR_FIT_GAUSS_TAILS = "gaussian_parameter";
211211
const std::string STR_FIT_GAUSS_NNLS_TAILS = "Hybrid_NNLS";
212212

213+
const std::string STR_SCAN_TYPE_POLAR_XANES = "POLAR_XANES";
214+
const std::string STR_SCAN_TYPE_2D_MAP = "XRF_MAPS";
215+
213216
const std::string STR_SR_CURRENT = "SR_Current";
214217
const std::string STR_US_IC = "US_IC";
215218
const std::string STR_US_FM = "US_FM";
@@ -289,6 +292,7 @@ const std::string STR_REQUESTED_ROWS = "requested_rows";
289292
const std::string STR_REQUESTED_COLS = "requested_cols";
290293
const std::string STR_THETA = "theta";
291294
const std::string STR_SCAN_TIME_STAMP = "scan_time_stamp";
295+
const std::string STR_SCAN_TYPE = "scan_type";
292296
const std::string STR_NAME = "name";
293297
const std::string STR_SCAN_METADATA = "scan_metadata";
294298

src/data_struct/scan_info.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ struct Scan_Meta_Info
9191
{
9292
std::string name;
9393
std::string scan_time_stamp;
94+
std::string scan_type;
9495
ArrayTr<T_real> x_axis;
9596
ArrayTr<T_real> y_axis;
9697
int requested_cols;

0 commit comments

Comments
 (0)