16 lines
311 B
Python
16 lines
311 B
Python
|
|
#gamma.move(20.0)
|
|
#alpha.move(10.0)
|
|
|
|
hkl_pos = hkl_group.take()
|
|
|
|
start,end,step = 5.0, 6.0, 0.1
|
|
|
|
for lv in frange(start,end,step):
|
|
print lv, hkl_to_angles(hkl_pos[0], hkl_pos[1], lv) [0]
|
|
|
|
|
|
start_pos = hkl_to_angles(hkl_pos[0], hkl_pos[1], 1.0) [0]
|
|
fourcv.move(start_pos)
|
|
|
|
lscan(l, current, start,end,step) |