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

Method _find_standard_custom

pyxrf/core/quant_analysis.py:802–813  ·  view source on GitHub ↗

r""" Search for standard in user-defined list. For more detailed description see docstring for ``find_standard`` function

(self, standard, key=None)

Source from the content-addressed store, hash-verified

800 self.fluorescence_data_dict = None
801
802 def _find_standard_custom(self, standard, key=None):
803 r"""
804 Search for standard in user-defined list. For more detailed description
805 see docstring for ``find_standard`` function
806 """
807 standard_ref = None
808 if self.standards_custom:
809 for st in self.standards_custom:
810 if (st == standard) if (key is None) else (st[key] == standard):
811 standard_ref = st
812 break
813 return standard_ref
814
815 def _find_standard_built_in(self, standard, key=None):
816 r"""

Callers 3

find_standardMethod · 0.95
is_standard_customMethod · 0.95

Calls

no outgoing calls

Tested by 1