diff options
author | Thomas White <taw@physics.org> | 2021-03-10 16:48:28 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-11 15:59:11 +0100 |
commit | d6db66c2d57be8071465cfcac70baea4499c99df (patch) | |
tree | 96df69be8af0e959b6ed38c0bbb2a4377030bb79 /src/diffraction.c | |
parent | e79af3cbb5f02528e403488e2a3bc7902fb3f382 (diff) |
detgeom_transform_coords: Take an additional detector shift
This allows the refined detector position to be used in a lot of places.
Diffstat (limited to 'src/diffraction.c')
-rw-r--r-- | src/diffraction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c index 64277d41..6f360bac 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -399,7 +399,7 @@ static void diffraction_panel(struct image *image, const double *intensities, yo = (1.0/nys) * ys; detgeom_transform_coords(p, fs+xo, ss+yo, - 1.0/k, qv); + 0.0, 0.0, 1.0/k, qv); q.u = qv[0]; q.v = qv[1]; q.w = qv[2]; |