diff --git a/script/local.py b/script/local.py index d52bb07..96578a0 100644 --- a/script/local.py +++ b/script/local.py @@ -103,8 +103,8 @@ def set_geometry(value, apply = None): def is_geometry_set(): return get_device("wavelength") is not None - -def get_count_time(): +""" +def set_roi(): """ """ setting = get_setting(ROI_PREFERENCE) @@ -117,10 +117,9 @@ def set_roi(x1, y1, x2, y2): """ """ set_setting(ROI_PREFERENCE, str((x1, y1, x2, y2)) ) - - - self.roi = [0,0, self.pixel.PIX_XDIM-1, self.pixel.PIX_YDIM] - self.broi = [0,0, self.pixel.PIX_XDIM-1, self.pixel.PIX_YDIM] + self.roi = [0,0, self.pixel.PIX_XDIM-1, self.pixel.PIX_YDIM] + self.broi = [0,0, self.pixel.PIX_XDIM-1, self.pixel.PIX_YDIM] +""" ################################################################################################### # Scan callbacks