This commit is contained in:
gac-x11ma
2025-09-18 13:55:56 +02:00
parent 0f8956cafe
commit d26d91d508
12 changed files with 96 additions and 76 deletions

View 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)