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

View File

@@ -1,2 +1,2 @@
#Fri Nov 20 00:59:10 CET 2020
FileSequentialNumber=5068
#Mon Nov 23 08:37:45 CET 2020
FileSequentialNumber=5284

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.