Closedown

This commit is contained in:
gac-x03da
2020-11-24 10:15:47 +01:00
parent 59a3249eca
commit 3796e3290a
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -84,6 +84,16 @@ class ImageAngleDistribution(ReadableCalibratedArray):
AngleDistribution = ImageAngleDistribution()
class ImageCounts(Readable):
def __init__(self):
self.x = 0.0
def read(self):
data = Scienta.dataArray.read()
counts = sum(data)
return counts
def init_scienta():
"""
turn on the analyser and start a mock measurement so that we get the correct array size.