From a41a73443cba36b9be6bca02e42f7a6c62e8e26a Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Wed, 31 Oct 2018 15:08:36 +0100 Subject: [PATCH] Closedown --- script/local.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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