Script execution
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user