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

Method get_suggested_json_fln

pyxrf/core/quant_analysis.py:1032–1039  ·  view source on GitHub ↗

r""" Get suggested file name for the reference standard data. File name serial number of the standard, therefore the fluorescence data dict must be filled before calling this function

(self)

Source from the content-addressed store, hash-verified

1030 set_quant_fluor_data_dict_optional(self.fluorescence_data_dict, scan_id=scan_id, scan_uid=scan_uid)
1031
1032 def get_suggested_json_fln(self):
1033 r"""
1034 Get suggested file name for the reference standard data. File name
1035 serial number of the standard, therefore the fluorescence data dict must be filled
1036 before calling this function
1037 """
1038 fln = f"standard_{self.fluorescence_data_dict['serial']}.json"
1039 return fln
1040
1041 def get_fluorescence_data_dict_text_preview(self, enable_warnings=True):
1042 r"""

Calls

no outgoing calls

Tested by 2