diff options
author | com-sixs <com-sixs@synchrotron-soleil.fr> | 2017-10-11 13:39:58 +0200 |
---|---|---|
committer | com-sixs <com-sixs@synchrotron-soleil.fr> | 2017-10-11 17:34:41 +0200 |
commit | 12006288c5c7b253d48b1b87c729f5bf890b1f6a (patch) | |
tree | 0691c5887a8a1298a41098e104658411183dec3c | |
parent | bad8e7cf8146f147365aa073c3da9049a0cebda8 (diff) |
q en 2pi/lambda instead of 1/lambda
-rw-r--r-- | binoculars/backends/sixs.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/binoculars/backends/sixs.py b/binoculars/backends/sixs.py index 6350129..9132bdf 100644 --- a/binoculars/backends/sixs.py +++ b/binoculars/backends/sixs.py @@ -110,13 +110,13 @@ class QxQyQzProjection(backend.ProjectionBase): # TODO factorize with HklProjection. Here a trick in order to # compute Qx Qy Qz in the omega basis. - UB = numpy.array([[2* math.pi, 0 , 0], - [0 , 0 , 2* math.pi], - [0 , -2 * math.pi, 0]]) + UB = numpy.array([[1, 0, 0], + [0, 0, 1], + [0,-1, 0]]) - # UB = numpy.array([[2* math.pi, 0 , 0], - # [0 , 2 * math.pi , 0], - # [0 , 0, 2 * math.pi]]) + # UB = numpy.array([[1, 0, 0], + # [0, 1, 0], + # [0, 0, 1]]) # the ki vector should be in the NexusFile or easily extracted # from the hkl library. ki = [1, 0, 0] |