From c730af32a21869d0321289416338cb2ccae65077 Mon Sep 17 00:00:00 2001 From: x03daop Date: Sat, 10 Sep 2016 11:59:57 +0200 Subject: [PATCH] Script execution --- script/RefocusYRotScan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/RefocusYRotScan.py b/script/RefocusYRotScan.py index 077171f2..c759386e 100644 --- a/script/RefocusYRotScan.py +++ b/script/RefocusYRotScan.py @@ -8,8 +8,8 @@ set analyser parameters separately! import math # adjust the following parameters -DISTANCE = 0.1 -STEPS = 20 +DISTANCE = 0.2 +STEPS = 0.005 LATENCY = 0.5 ENDSCAN = False @@ -24,8 +24,8 @@ set_adc_averaging() def trig_sensors(): wait_beam() - trig_scienta() caput("X03DA-OP-10ADC:TRG.PROC", 1) + trig_scienta() try: lscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=trig_sensors, after_read = after_readout)