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

Method _find_standard_built_in

pyxrf/core/quant_analysis.py:815–827  ·  view source on GitHub ↗

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

(self, standard, key=None)

Source from the content-addressed store, hash-verified

813 return standard_ref
814
815 def _find_standard_built_in(self, standard, key=None):
816 r"""
817 Search for standard in built-in list. For more detailed description
818 see docstring for ``find_standard`` function
819 """
820
821 standard_ref = None
822 if self.standards_built_in:
823 for st in self.standards_built_in:
824 if (st == standard) if (key is None) else (st[key] == standard):
825 standard_ref = st
826 break
827 return standard_ref
828
829 def find_standard(self, standard, key=None):
830 r"""

Callers 2

find_standardMethod · 0.95

Calls

no outgoing calls

Tested by 1