diff --git a/script/EmpaMarco.py b/script/EmpaMarco.py index e3975458..c9391d7e 100644 --- a/script/EmpaMarco.py +++ b/script/EmpaMarco.py @@ -7,14 +7,14 @@ STEPS = 1000 SENSORS = [Counts, MachineCurrent, SampleCurrent, RefCurrent, EnergyDistribution, Scienta.getDataMatrix()] - +setup_plotting(line_plots = (Counts, MachineCurrent, SampleCurrent, RefCurrent,)) try: ascan( [dummy,Scienta.getCenterEnergy()], SENSORS, [0.0, ENERGY_LOW], - [1.0, ENERGY_HIGH], - [1000, 1], - latency = SETTLING_TIME + [0.001 * STEPS, ENERGY_HIGH], + [STEPS, 1], + latency = SETTLING_TIME, before_read = before_readout, after_read = after_readout) finally: if ENDSCAN: