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 /libcrystfel/src/image.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 'libcrystfel/src/image.c')
-rw-r--r-- | libcrystfel/src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 7e4a7549..f6971b1e 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -1175,7 +1175,7 @@ void mark_resolution_range_as_bad(struct image *image, double r; detgeom_transform_coords(p, fs, ss, image->lambda, - q); + 0.0, 0.0, q); r = modulus(q[0], q[1], q[2]); if ( (r >= min) && (r <= max) ) { image->bad[i][fs+p->w*ss] = 1; |