MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / get_scaler_set

Function get_scaler_set

pyxrf/model/command_tools.py:208–213  ·  view source on GitHub ↗
(img_dict)

Source from the content-addressed store, hash-verified

206 save_fitdata_to_hdf(fpath, result_map_sum, datapath=inner_path)
207
208 def get_scaler_set(img_dict):
209 sc_set_names = [_ for _ in img_dict if _.endswith("_scaler")]
210 if sc_set_names:
211 return img_dict[sc_set_names[0]]
212 else:
213 return {}
214
215 def get_positions_set(img_dict):
216 if "positions" in img_dict:

Callers 1

fit_pixel_data_and_saveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected