From 04d0c102880782192e6b4dafc13cfa056431f28b Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 10 Aug 2016 17:14:57 +0200 Subject: [PATCH] Script execution --- script/EmpaMarco.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/script/EmpaMarco.py b/script/EmpaMarco.py index 0465f74a..64b27423 100644 --- a/script/EmpaMarco.py +++ b/script/EmpaMarco.py @@ -2,8 +2,8 @@ set_adc_averaging() ENERGY_LOW = 137.0 ENERGY_HIGH = 370.6 -SETTLING_TIME = 5.0 -STEPS = 3 +SETTLING_TIME = 0.0 +STEPS = 1000 SENSORS = [Counts, MachineCurrent, SampleCurrent, RefCurrent, EnergyDistribution, Scienta.getDataMatrix()] @@ -11,9 +11,8 @@ setup_plotting(line_plots = (Counts, MachineCurrent, SampleCurrent, RefCurrent,) try: ascan( [dummy,Scienta.getCenterEnergy()], SENSORS, - [0.0, ENERGY_LOW], - latency = SETTLING_TIME, - [0.001 * STEPS, ENERGY_HIGH], + [0.0, ENERGY_HIGH], + [0.001 * STEPS, ENERGY_LOW], [STEPS, 1], latency = SETTLING_TIME, before_read = before_readout, after_read = after_readout)