Script execution

This commit is contained in:
gac-x04sa
2018-10-31 08:29:45 +01:00
parent 72ffa24070
commit d30fcb779f

View File

@@ -33,7 +33,7 @@ class ImageCorrectedIntensity(DeviceBase, Readable):
self.setCache(ret, None)
return ret
class ImageMatrix(ReadonlyRegisterBase, ReadonlyRegisterMatrix, Readable.LongType):
class ImageMatrix(ReadonlyRegisterBase, ReadonlyRegisterMatrix, Readable.IntegerType):
def __init__(self, image):
DeviceBase.__init__(self, "Matrix")
self.setParent(image)
@@ -45,7 +45,7 @@ class ImageMatrix(ReadonlyRegisterBase, ReadonlyRegisterMatrix, Readable.LongTyp
return self.getParent().pixel.PIX_XDIM
def getHeight(self):
return self.getParent().pixel.PIY_YDIM
return self.getParent().pixel.PIX_YDIM