Commit 5459a242 authored by Damien Naudet's avatar Damien Naudet

changed order of motors.

parent f51d2589
......@@ -684,9 +684,9 @@ def _img_2_qspace(data_h5f,
qconv = xu.experiment.QConversion(['y-', 'z-'],
['z-', 'y-'],
[1, 0, 0])
# qconv = xu.experiment.QConversion(['y-'],
# ['z+', 'y-'],
# [1, 0, 0])
#qconv = xu.experiment.QConversion(['y-'],
#['z+', 'y-'],
#[1, 0, 0])
# convention for coordinate system:
# x downstream
......@@ -739,7 +739,7 @@ def _img_2_qspace(data_h5f,
nu = np.float64(master_h5.positioner(entry, 'nu'))
delta = np.float64(master_h5.positioner(entry, 'del'))
qx, qy, qz = hxrd.Ang2Q.area(phi, eta, nu, delta)
qx, qy, qz = hxrd.Ang2Q.area(eta, phi, nu, delta)
q_ar[entry_idx, :, 0] = qx.reshape(-1)
q_ar[entry_idx, :, 1] = qy.reshape(-1)
q_ar[entry_idx, :, 2] = qz.reshape(-1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment