From 851fe959f97ed45624fadbe15f7239e26261f585 Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 25 May 2016 14:50:03 +0200 Subject: [PATCH] Script execution --- script/ManipulatorYZScan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/ManipulatorYZScan.py b/script/ManipulatorYZScan.py index de4c1dea..4f03f4b6 100644 --- a/script/ManipulatorYZScan.py +++ b/script/ManipulatorYZScan.py @@ -17,12 +17,13 @@ ZIGZAG = True # do not edit below MOTORS = (ManipulatorY, ManipulatorZ) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution) -STARTPOS = (-0.25, 0.25) -ENDPOS = (-0.25, 0.25) -RELATIVE = True +STARTPOS = (-0.10-0.25, 115.20-0.25) +ENDPOS = (-0.10+0.25, 115.20+0.25) +RELATIVE = False adjust_sensors() set_adc_averaging() +set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) try: ascan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout)