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

Method _update_data

pyxrf/gui_support/gpc_class.py:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 f_path = file_path
117
118 def _update_data():
119 self.fit_model.fit_img = {} # clear dict in fitmodel to rm old results
120 # This will draw empty (hidden) preview plot, since no channels are selected.
121 self.plot_model.update_preview_spectrum_plot()
122 self.plot_model.update_total_count_map_preview(new_plot=True)
123
124 # The following statement initiates file loading. It may raise exceptions
125 try:

Callers

nothing calls this directly

Tested by

no test coverage detected