diff --git a/config/variables.properties b/config/variables.properties index 3c4dab08..e169cc04 100644 --- a/config/variables.properties +++ b/config/variables.properties @@ -1,2 +1,2 @@ -#Fri Nov 20 00:59:10 CET 2020 -FileSequentialNumber=5068 +#Mon Nov 23 08:37:45 CET 2020 +FileSequentialNumber=5284 diff --git a/script/local.py b/script/local.py index 06e138a7..120dafc6 100644 --- a/script/local.py +++ b/script/local.py @@ -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.