From b83acb36a18db75eb12e26f5ce4f3cdf4d313c64 Mon Sep 17 00:00:00 2001 From: x03daop Date: Fri, 9 Sep 2016 10:23:37 +0200 Subject: [PATCH] Script execution --- script/RefocusManipulatorScan.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/script/RefocusManipulatorScan.py b/script/RefocusManipulatorScan.py index 67a4b212..bd32ae9e 100644 --- a/script/RefocusManipulatorScan.py +++ b/script/RefocusManipulatorScan.py @@ -10,14 +10,16 @@ move manipulator and mirror to center position before start! import math # adjust the following parameters -DISTANCE_Ry = 0.3 # mrad (Ry) -SLOPE = -2.000 # mm/mrad (DX / DRy) -STEPS = 60 +DISTANCE_X = 1.0 # mm +#DISTANCE_Ry = 0.5 # mrad (Ry) +SLOPE = -1.75 # mm/mrad (DX / DRy) +STEPS = 50 LATENCY = 0.0 ENDSCAN = False # do not edit below -DISTANCE_X = DISTANCE_Ry * SLOPE +#DISTANCE_X = DISTANCE_Ry * SLOPE +DISTANCE_Ry = DISTANCE_X / SLOPE MOTOR = (RefocusYRot, ManipulatorX) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)