From 49641a971a13125d9d54ce5e60c8afbaefa36b98 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Mon, 11 Feb 2019 09:26:24 +0100 Subject: [PATCH] Script execution --- script/daq/daq3-setup.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/script/daq/daq3-setup.py b/script/daq/daq3-setup.py index d20ea80..51ad87f 100644 --- a/script/daq/daq3-setup.py +++ b/script/daq/daq3-setup.py @@ -6,11 +6,19 @@ set_geometry("fourcv", True) ###################################################################################################\ #Constraints ################################################################################################### -hkl.con('a_eq_b') +#hkl.con('a_eq_b') #equivalent to 'setmode 0' + 'freeze 5' -#hkl.con( 'mu', 5) #alpha constant -#hkl.con( 'eta', 0) #alpha constant +hkl.con( 'alpha', 5) #alpha constant + + +#equivalent to 'setmode 1' + 'freeze 5' +#hkl.con( 'beta', 5) #alpha constant + +#equivalent to 'setmode 2'' +#hkl.con( 'a_eq_b', 0) #alpha constant + +#hkl.con( 'eta', 0) setup_axis(alpha, alpha.getMinValue(), alpha.getMaxValue()) @@ -51,7 +59,8 @@ en = 9.5 # 0.00000 0.81526 0.00000 # 0.00000 0.00000 0.81357 -ub.setub([[ 0.81363, 0.00000, -0.01044], [0.00000, 0.81526, 0.00000], [0.00000, 0.00000, 0.81357]]) +#ub.setub([[ 0.81363, 0.00000, -0.01044], [0.00000, 0.81526, 0.00000], [0.00000, 0.00000, 0.81357]]) +ub.setub([[ 0.81363, 0.00000, 0.00000], [0.00000, 0.81526, 0.00000], [-0.01044, 0.00000, 0.81357]]) #ub.ub() ub.checkub() calc_ub = get_ub_matrix()