This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user