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

Method get_range

pyxrf/gui_module/useful_widgets.py:914–923  ·  view source on GitHub ↗

Get the full range Returns ------- tuple `(range_low, range_high)`, the values of `range_low` and `range_high` may be `int` or `float` type depending on the type set by `set_value_type()` method.

(self)

Source from the content-addressed store, hash-verified

912 return self.set_selection(value_low=self._range_low, value_high=self._range_high)
913
914 def get_range(self):
915 """
916 Get the full range
917
918 Returns
919 -------
920 tuple `(range_low, range_high)`, the values of `range_low` and `range_high` may be `int`
921 or `float` type depending on the type set by `set_value_type()` method.
922 """
923 return self._range_low, self._range_high
924
925 def get_selection(self):
926 """

Callers 4

test_RangeManager_1Function · 0.95
test_RangeManager_2Function · 0.95
update_map_rangeMethod · 0.80
_verify_rangeFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_RangeManager_1Function · 0.76
test_RangeManager_2Function · 0.76
_verify_rangeFunction · 0.64