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

Method get_sorted_result_dict_names

pyxrf/model/parameters.py:1009–1021  ·  view source on GitHub ↗

The function returns the list of selected emission lines. The emission lines are sorted in the following order: emission line names (sorted in the order of growing atomic number Z), userpeaks (in alphabetic order), pileup peaks (in alphabetic order), other peaks (in

(self)

Source from the content-addressed store, hash-verified

1007 return names_elines + names_userpeaks + names_pileup_peaks + names_other
1008
1009 def get_sorted_result_dict_names(self):
1010 """
1011 The function returns the list of selected emission lines. The emission lines are
1012 sorted in the following order: emission line names (sorted in the order of growing
1013 atomic number Z), userpeaks (in alphabetic order), pileup peaks (in alphabetic order),
1014 other peaks (in alphabetic order).
1015
1016 Returns
1017 -------
1018 list(str)
1019 the list if emission line names
1020 """
1021 return self._sort_eline_list(self.result_dict_names)
1022
1023 def get_sorted_element_list(self):
1024 """

Callers 2

Calls 1

_sort_eline_listMethod · 0.95

Tested by

no test coverage detected