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)