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)