Skip to content

Commit 429e7e1

Browse files
authored
Merge pull request #344 from emusterman/master
Additional scaler channels available for SRX
2 parents 3fcc189 + 6fbeea7 commit 429e7e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎pyxrf/model/load_data_from_db.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,6 +1875,7 @@ def map_data2D_srx_new(
18751875
d_xs, d_xs_sum, N_xs = [], [], 0
18761876
d_xs2, d_xs2_sum, N_xs2 = [], [], 0
18771877
sclr_list = ["i0", "i0_time", "time", "im", "it"]
1878+
sclr_list += [f"i{n:02}" for n in range(5, 32 + 1)]
18781879
sclr_dict = {}
18791880
fast_pos, slow_pos = [], []
18801881

@@ -2432,6 +2433,7 @@ def map_data2D_srx_new_tiled(
24322433
raise ValueError(f"No fluorescence data is found for the experiment {run_id_uid!r}")
24332434

24342435
sclr_list = ["i0", "i0_time", "im", "it"]
2436+
sclr_list += [f"i{n:02}" for n in range(5, 32 + 1)]
24352437
sclr_dict = dict()
24362438
for k in sclr_list:
24372439
if k in data_stream0:

0 commit comments

Comments
 (0)