From a1b8aef9eb3fd6843d8fc79cc1ffd691e2273705 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Wed, 22 Aug 2018 15:07:38 +0200 Subject: [PATCH] Script execution --- script/test/TestFourcvTiny.py | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/script/test/TestFourcvTiny.py b/script/test/TestFourcvTiny.py index 99892a8..6698c29 100644 --- a/script/test/TestFourcvTiny.py +++ b/script/test/TestFourcvTiny.py @@ -77,16 +77,22 @@ ub.addref([1, 0, 0])# energy and position from hardware # Add 2nd reflection (this time without the harware adapter) ub.c2th([0, 1, 0], 12.39842) ub.addref([0, 1, 0], [60, 30, 0, 90], 12.39842) - -#alpha delta gamma omegaV """ -ub.c2th([0, 0, 4], 1.5498) -ub.addref([0, 0, 4], [16.2785, 0.0, 32.5568, 0.0], 1.5498) +#alpha delta gamma omegaV + +en = 1.5498 +en=8 +ub.c2th([0, 0, 4], en) +ub.addref([0, 0, 4], [16.2785, 0.0, 32.5568, 0.0], en) + +#ub.c2th([2, 0, 12], en) +#ub.addref([2, 0, 12], [71.8285, 37.3082, 138.7440, 0.0], en) + +ub.c2th([1, -4, 10], en) +ub.addref([1, -4, 10], [27.7185, 17.6408 , 128.4220, 0.0], en) -ub.c2th([2, 0, 12], 1.5498) -ub.addref([2, 0, 12], [71.8285, 37.3082, 138.7440, 0.0], 1.5498) #ub.setub([[1.07663,0.00000,0.00000], [-0.00000,1.22862,0.00000], [-0.00000,-0.00000,0.56820]]) @@ -102,7 +108,7 @@ ub.checkub() ################################################################################################### help(hkl.con) #hkl.con('a_eq_b') -hkl.con('eta=0') +hkl.con('eta') ###################################################################################################\