From d6db66c2d57be8071465cfcac70baea4499c99df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 10 Mar 2021 16:48:28 +0100 Subject: detgeom_transform_coords: Take an additional detector shift This allows the refined detector position to be used in a lot of places. --- libcrystfel/src/indexers/taketwo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src/indexers/taketwo.c') diff --git a/libcrystfel/src/indexers/taketwo.c b/libcrystfel/src/indexers/taketwo.c index 66c0d1cc..1bccf1e0 100644 --- a/libcrystfel/src/indexers/taketwo.c +++ b/libcrystfel/src/indexers/taketwo.c @@ -2164,7 +2164,7 @@ int taketwo_index(struct image *image, void *priv) detgeom_transform_coords(&image->detgeom->panels[pk->pn], pk->fs, pk->ss, image->lambda, - r); + 0.0, 0.0, r); rlps[n_rlps].u = r[0]; rlps[n_rlps].v = r[1]; -- cgit v1.2.3