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

Method clear_standards

pyxrf/core/quant_analysis.py:787–800  ·  view source on GitHub ↗

r""" Clear the lists of reference standards and all data that was computed based on loaded reference standards. This function is called before reloading the standards. It is recommended that the data is reloaded often (each time the dialog box for reference standard s

(self)

Source from the content-addressed store, hash-verified

785 logger.error(f"Failed to load custom set of quantitative standards: {ex}")
786
787 def clear_standards(self):
788 r"""
789 Clear the lists of reference standards and all data that was computed based on
790 loaded reference standards. This function is called before reloading the standards.
791 It is recommended that the data is reloaded often (each time the dialog box
792 for reference standard selection is opened), because the reference files may be
793 edited by the user and the most recent version of the data should be displayed
794 in the dialog box
795 """
796 self.standards_built_in = None
797 self.standards_custom = None
798 self.standard_selected = None
799 self.emission_line_list = None
800 self.fluorescence_data_dict = None
801
802 def _find_standard_custom(self, standard, key=None):
803 r"""

Callers 4

load_standardsMethod · 0.95

Calls

no outgoing calls

Tested by 1