aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-10 16:48:28 +0100
committerThomas White <taw@physics.org>2021-03-11 15:59:11 +0100
commitd6db66c2d57be8071465cfcac70baea4499c99df (patch)
tree96df69be8af0e959b6ed38c0bbb2a4377030bb79 /libcrystfel/src/stream.c
parente79af3cbb5f02528e403488e2a3bc7902fb3f382 (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 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 3b4f033b..83756c7a 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -207,7 +207,7 @@ static int write_peaks(const struct image *image,
p = &image->detgeom->panels[f->pn];
detgeom_transform_coords(p, f->fs, f->ss,
- image->lambda, r);
+ image->lambda, 0.0, 0.0, r);
q = modulus(r[0], r[1], r[2]);
write_fs = f->fs;