This commit is contained in:
15
script/test/tets_scan_tiff_stack.py
Normal file
15
script/test/tets_scan_tiff_stack.py
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
class Detector(ReadonlyRegisterBase, ReadonlyRegisterMatrix):
|
||||
def doRead(self):
|
||||
return Convert.toUnsigned(axis.dataMatrix.read())
|
||||
|
||||
def getWidth(self):
|
||||
return axis.data.width
|
||||
|
||||
def getHeight(self):
|
||||
return axis.data.height
|
||||
|
||||
detector=Detector("detector")
|
||||
detector.initialize()
|
||||
|
||||
tscan((energy_rbk, detector), 5, 1.0, stack=True)
|
||||
Reference in New Issue
Block a user