From 3796e3290a0efd363ec8edb5eb0b7e72b9f41133 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 24 Nov 2020 10:15:47 +0100 Subject: [PATCH] Closedown --- config/variables.properties | 4 ++-- script/local.py | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) 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.