Script execution

This commit is contained in:
gac-x04sa
2019-02-11 09:26:24 +01:00
parent 90dbb16e06
commit 49641a971a
+13 -4
View File
@@ -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()