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

Method reset_to_default

pyxrf/model/draw_image.py:199–204  ·  view source on GitHub ↗

Set variables to default values as initiated.

(self)

Source from the content-addressed store, hash-verified

197 self.show_image()
198
199 def reset_to_default(self):
200 """Set variables to default values as initiated."""
201 self.select_dataset(0)
202 # init of scaler for normalization
203 self.set_scaler_index(0)
204 self.plot_deselect_all()
205
206 def get_detector_channel_name(self, img_title=None):
207 # Return the name of the selected detector channel ('sum', 'det1', 'det2' etc)

Callers

nothing calls this directly

Calls 2

select_datasetMethod · 0.95
set_scaler_indexMethod · 0.95

Tested by

no test coverage detected