From 0955c54d5a8d15ac29fdd6950737ff9f869bd063 Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 10 Aug 2016 17:02:30 +0200 Subject: [PATCH] Script execution --- script/EmpaMarco.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/EmpaMarco.py b/script/EmpaMarco.py index c9391d7e..0465f74a 100644 --- a/script/EmpaMarco.py +++ b/script/EmpaMarco.py @@ -1,9 +1,9 @@ set_adc_averaging() ENERGY_LOW = 137.0 -ENERGY_HIGH = 371.0 -SETTLING_TIME = 1.0 -STEPS = 1000 +ENERGY_HIGH = 370.6 +SETTLING_TIME = 5.0 +STEPS = 3 SENSORS = [Counts, MachineCurrent, SampleCurrent, RefCurrent, EnergyDistribution, Scienta.getDataMatrix()] @@ -12,6 +12,7 @@ try: ascan( [dummy,Scienta.getCenterEnergy()], SENSORS, [0.0, ENERGY_LOW], + latency = SETTLING_TIME, [0.001 * STEPS, ENERGY_HIGH], [STEPS, 1], latency = SETTLING_TIME,