Commit a0440a7b authored by Martin Drechsler's avatar Martin Drechsler

very small change

parent 69c03a31
...@@ -24,7 +24,7 @@ class CustomRectangularROI(ROI): ...@@ -24,7 +24,7 @@ class CustomRectangularROI(ROI):
============== ============================================================= ============== =============================================================
""" """
def __init__(self, pos, size = [8, 8], centered=False, sideScalers=False): def __init__(self, pos, size = [8, 8], centered=True, sideScalers=True):
#ROI.__init__(self, pos, size, **args) #ROI.__init__(self, pos, size, **args)
super().__init__(pos, size, centered, sideScalers) super().__init__(pos, size, centered, sideScalers)
...@@ -43,6 +43,9 @@ class CustomRectangularROI(ROI): ...@@ -43,6 +43,9 @@ class CustomRectangularROI(ROI):
self.current_binning = '' self.current_binning = ''
def correct_scaling(self): def correct_scaling(self):
"""
Not implementd for now
"""
x, y = self.pos()[0], self.pos()[1] x, y = self.pos()[0], self.pos()[1]
if x%8 != 0 or y%8 != 0: if x%8 != 0 or y%8 != 0:
self.setPos((x//8)*8, (y//8)*8) self.setPos((x//8)*8, (y//8)*8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment