diff --git a/script/RefocusManipulatorScan.py b/script/RefocusManipulatorScan.py index 28bdd1a7..a5354b24 100644 --- a/script/RefocusManipulatorScan.py +++ b/script/RefocusManipulatorScan.py @@ -13,23 +13,23 @@ import math DISTANCE_X = 1.0 # mm #DISTANCE_Ry = 0.5 # mrad (Ry) SLOPE = 1.0/0.24 # mm/mrad (DX / DRy) -STEPS = 50 +STEPS = 120 LATENCY = 0.0 ENDSCAN = False # do not edit below #DISTANCE_X = DISTANCE_Ry * SLOPE DISTANCE_Ry = DISTANCE_X / SLOPE -print DISTANCE_Ry MOTOR = (RefocusYRot, ManipulatorX) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution) -STARTPOS = (-DISTANCE_Ry / 2.0, -DISTANCE_X / 2.0) -ENDPOS = (DISTANCE_Ry / 2.0, DISTANCE_X / 2.0) -RELATIVE = True +#STARTPOS = (-DISTANCE_Ry / 2.0, -DISTANCE_X / 2.0) +#ENDPOS = (DISTANCE_Ry / 2.0, DISTANCE_X / 2.0) +#RELATIVE = True -print STARTPOS -print ENDPOS +STARTPOS = (-1.670, -0.330) +ENDPOS = (-5.000, 1.000) +RELATIVE = False adjust_sensors() set_adc_averaging()