Skip to content

Commit

Permalink
Added BLOM_XY1 reader. TODO: channel mapping still unclear and untouc…
Browse files Browse the repository at this point in the history
…hed. SXRC channel mapping also internally reorganised and to be sorted in MDS+. (#286)

Co-authored-by: Marco Sertoli <[email protected]>
  • Loading branch information
marcosertoli and marcosertoli authored Sep 19, 2023
1 parent d3c890e commit dd13acd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indica/readers/read_st40.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"sxr_camera_4": 0,
"sxrc_xy1": 0,
"sxrc_xy2": 0,
"blom_xy1": 0,
"sxr_diode_1": 0,
"xrcs": 0,
"ts": 0,
Expand All @@ -42,6 +43,7 @@
"sxr_camera_4": {"brightness": (0, np.inf)},
"sxrc_xy1": {"brightness": (0, np.inf)},
"sxrc_xy2": {"brightness": (0, np.inf)},
"blom_xy1": {"brightness": (0, np.inf)},
"ts": {"te": (0, 10.0e3), "ne": (0, 1.0e21)},
"pi": {"spectra": (0, np.inf)},
"tws_c": {"spectra": (0, np.inf)},
Expand Down
4 changes: 4 additions & 0 deletions indica/readers/st40reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class ST40Reader(DataReader):
"sxr_camera_4": "get_radiation",
"sxrc_xy1": "get_radiation",
"sxrc_xy2": "get_radiation",
"blom_xy1": "get_radiation",
"cxff_pi": "get_charge_exchange",
"cxff_tws_c": "get_charge_exchange",
"cxqf_tws_c": "get_charge_exchange",
Expand Down Expand Up @@ -179,6 +180,9 @@ class ST40Reader(DataReader):
"sxrc_xy2": {
"brightness": ".profiles:emission",
},
"blom_xy1": {
"brightness": ".profiles:emission",
},
"sxr_diode_1": {
"brightness": ".filter_001:signal",
},
Expand Down

0 comments on commit dd13acd

Please sign in to comment.