Closedown

This commit is contained in:
gac-x04sa
2018-10-31 15:08:58 +01:00
parent a41a73443c
commit 0723fd6843
-4
View File
@@ -105,8 +105,6 @@ def is_geometry_set():
"""
def set_roi():
"""
"""
setting = get_setting(ROI_PREFERENCE)
try:
return float(setting)
@@ -114,8 +112,6 @@ def set_roi():
return 1.0
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]