Script execution

This commit is contained in:
gac-x04sa
2018-08-22 14:41:32 +02:00
parent 27b6f5ebd2
commit c2a54e69ef
+9 -6
View File
@@ -66,7 +66,7 @@ ub.newub('test')
#ub.setlat('cubic', 5.8361, 5.114, 11.058, 90, 90, 90)
ub.setlat('cubic', 11.058, 5.8361, 5.114, 90, 90, 90)
"""
# Add 1st reflection (demonstrating the hardware adapter)
settings.hardware.wavelength = 1
ub.c2th([1, 0, 0]) # energy from hardware
@@ -79,13 +79,15 @@ 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)
ub.c2th([0, 0, 4], 1.5498)
ub.addref([0, 0, 4], [16.2785, 0.0, 32.5568, 0.0], 1.5498)
#ub.c2th([2, 0, 12], 1.5498)
#ub.addref([2, 0, 12], [71.8285,37.3082, 138.7440, 0.0], 1.5498)
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]])
@@ -99,7 +101,8 @@ ub.checkub()
#Constraints
###################################################################################################
help(hkl.con)
hkl.con('a_eq_b')
#hkl.con('a_eq_b')
hkl.con('eta=0')
###################################################################################################\