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

Method get_quant_standard_list

pyxrf/gui_support/gpc_class.py:1200–1212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1198 self.fitting_parameters_changed()
1199
1200 def get_quant_standard_list(self):
1201 self.fit_model.param_quant_estimation.clear_standards()
1202 self.fit_model.param_quant_estimation.load_standards()
1203
1204 qe_param_built_in = self.fit_model.param_quant_estimation.standards_built_in
1205 qe_param_custom = self.fit_model.param_quant_estimation.standards_custom
1206
1207 # The current selection is set to the currently selected standard
1208 # held in 'fit_model.qe_standard_selected_copy'
1209 qe_standard_selected = self.fit_model.qe_standard_selected_copy
1210 qe_standard_selected = self.fit_model.param_quant_estimation.set_selected_standard(qe_standard_selected)
1211
1212 return qe_param_built_in, qe_param_custom, qe_standard_selected
1213
1214 def set_selected_quant_standard(self, selected_standard):
1215 if selected_standard is not None:

Callers 1

Calls 3

clear_standardsMethod · 0.80
load_standardsMethod · 0.80
set_selected_standardMethod · 0.80

Tested by

no test coverage detected