This commit is contained in:
x03daop
2016-08-10 14:48:53 +02:00
parent 99db190872
commit ec730161e3

View File

@@ -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: