From cfd634e2a505a10dbc41384f473db746cf085791 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 21 Aug 2018 18:03:40 +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 6c0c35f..7347315 100644 --- a/script/test/TestFourcvTiny.py +++ b/script/test/TestFourcvTiny.py @@ -6,9 +6,10 @@ run("diffutils") class FourCircleX04SA_V(YouGeometry): """For a diffractometer with angles: mu, delta, nu, eta + alpha delta gamma omegaV """ def __init__(self): - YouGeometry.__init__(self, 'fourcv', {'phi': 0, 'chi': 0}) + YouGeometry.__init__(self, 'fourcv', {'phi': 0, 'chi': 0,}) diffcalc.hkl.you.constraints.NUNAME = fourcv.motors[2].name def physical_angles_to_internal_position(self, physical_angle_tuple): @@ -28,9 +29,15 @@ class FourCircleX04SA_V(YouGeometry): ################################################################################################### #alpha, delta, gamma, omegaV -setup_diff(fourcv, energy, FourCircleX04SA_V()) +setup_diff(fourcv, energy, FourCircleX04SA_V(), ("mu", "delta", "nu", "eta")) print_axis_setup() +""" +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('alpha', alpha.getMinValue(), alpha.getMaxValue()) setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue())