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

Method energy_bound_high_update

pyxrf/model/lineplot.py:427–434  ·  view source on GitHub ↗

Observer function for 'param_model.energy_bound_high_buf

(self, change)

Source from the content-addressed store, hash-verified

425 self._update_canvas()
426
427 def energy_bound_high_update(self, change):
428 """Observer function for 'param_model.energy_bound_high_buf'"""
429 if self.io_model.data is None:
430 return
431 self.exp_data_update({"value": self.io_model.data})
432 self.plot_selected_energy_range_original(e_high=change["value"])
433 self.plot_vertical_marker(e_high=change["value"])
434 self._update_canvas()
435
436 def energy_bound_low_update(self, change):
437 """Observer function for 'param_model.energy_bound_low_buf'"""

Callers

nothing calls this directly

Calls 4

exp_data_updateMethod · 0.95
plot_vertical_markerMethod · 0.95
_update_canvasMethod · 0.95

Tested by

no test coverage detected