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

Method _set_tooltips

pyxrf/gui_module/tab_wd_model.py:194–259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 self.group_model_fitting.setLayout(vbox)
193
194 def _set_tooltips(self):
195 set_tooltip(self.pb_find_elines, "Automatically find emission lines from <b>total spectrum</b>.")
196 set_tooltip(
197 self.pb_load_elines,
198 "Load model parameters, including selected emission lines from <b>JSON</b> file, "
199 "which was previously save using <b>Save Parameters to File ...</b>.",
200 )
201 set_tooltip(
202 self.pb_load_qstandard,
203 "Load <b>quantitative standard</b>. The model is reset and the emission lines "
204 "that fit within the selected range of energies are added to the list "
205 "of emission lines.",
206 )
207 set_tooltip(
208 self.pb_save_elines,
209 "Save the model parameters including the parameters of the selected emission lines "
210 "to <b>JSON</b> file.",
211 )
212 set_tooltip(
213 self.le_param_fln,
214 "The name of the recently loaded <b>parameter file</b> or serial number "
215 "and name of the loaded <b>quantitative standard</b>",
216 )
217
218 set_tooltip(
219 self.pb_manage_emission_lines,
220 "Open a user friendly interface that allows to <b>add and remove emission lines</b> "
221 "to the list or <b>modify parameters</b> of the selected emission lines",
222 )
223
224 set_tooltip(self.pb_fit_param_general, "<b>General settings</b> for fitting algorithms.")
225 set_tooltip(
226 self.pb_fit_param_shared,
227 "Access to low-level control of the total spectrum fitting algorithm: parameters shared "
228 "by models of all emission lines.",
229 )
230 set_tooltip(
231 self.pb_fit_param_lines,
232 "Access to low-level control of the total spectrum fitting algorithm: adjust parameters "
233 "for each emission line of the selected elements; modify preset fitting configurations.",
234 )
235 set_tooltip(
236 self.cb_step1,
237 "Select preset fitting configuration for <b>Step 1</b>. "
238 "Click <b>Elements...</b> and <b>Global Parameters...</b> "
239 "buttons to open dialog boxes to configure the presets.",
240 )
241 set_tooltip(
242 self.cb_step2,
243 "Select preset fitting configuration for <b>Step 2</b>. "
244 "Click <b>Elements...</b> and <b>Global Parameters...</b> "
245 "buttons to open dialog boxes to configure the presets.",
246 )
247
248 set_tooltip(
249 self.pb_start_fitting,
250 "Click the button to <b>run fitting of total spectrum</b>. The result of fitting includes "
251 "the refined set of emission line parameters. The fitted spectrum is displayed in "

Callers 2

initializeMethod · 0.95
update_widget_stateMethod · 0.95

Calls 1

set_tooltipFunction · 0.85

Tested by

no test coverage detected