From e57904db9f14fb91c7e89d4f524ea091b4581eb9 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Wed, 22 Aug 2018 14:05:50 +0200 Subject: [PATCH] Script execution --- script/test/TestFourcvTiny.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/script/test/TestFourcvTiny.py b/script/test/TestFourcvTiny.py index 7347315..6172e1c 100644 --- a/script/test/TestFourcvTiny.py +++ b/script/test/TestFourcvTiny.py @@ -10,7 +10,7 @@ class FourCircleX04SA_V(YouGeometry): """ def __init__(self): YouGeometry.__init__(self, 'fourcv', {'phi': 0, 'chi': 0,}) - diffcalc.hkl.you.constraints.NUNAME = fourcv.motors[2].name + #diffcalc.hkl.you.constraints.NUNAME = fourcv.motors[2].name def physical_angles_to_internal_position(self, physical_angle_tuple): # mu, delta, nu, eta, chi, phi @@ -38,11 +38,18 @@ setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue()) setup_axis('gamma', gamma.getMinValue(), gamma.getMaxValue()) setup_axis('omegaV', omegaV.getMinValue(), omegaV.getMaxValue()) """ - +""" setup_axis('alpha', alpha.getMinValue(), alpha.getMaxValue()) setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue()) setup_axis('gamma', gamma.getMinValue(), gamma.getMaxValue()) setup_axis('omegaV', omegaV.getMinValue(), omegaV.getMaxValue()) +""" +setup_axis('mu', alpha.getMinValue(), alpha.getMaxValue()) +setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue()) +setup_axis('nu', gamma.getMinValue(), gamma.getMaxValue()) +setup_axis('eta', omegaV.getMinValue(), omegaV.getMaxValue()) + + #for m in alpha, delta, gamma, omegaV: # setup_axis(m.name, m.getMinValue(), m.getMaxValue())