aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 6b530b61..c8c86414 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -224,7 +224,8 @@ void map_all_peaks(struct image *image)
f = image_get_feature(image->features, i);
if ( f == NULL ) continue;
- r = get_q(image, f->fs, f->ss, NULL, 1.0/image->lambda);
+ r = get_q_for_panel(f->p, f->fs, f->ss,
+ NULL, 1.0/image->lambda);
f->rx = r.u; f->ry = r.v; f->rz = r.w;
}
@@ -352,7 +353,8 @@ static int delete_explained_peaks(struct image *image, Crystal *cr)
nspots++;
/* Reciprocal space position of found peak */
- q = get_q(image, f->fs, f->ss, NULL, 1.0/image->lambda);
+ q = get_q_for_panel(f->p, f->fs, f->ss,
+ NULL, 1.0/image->lambda);
/* Decimal and fractional Miller indices of nearest
* reciprocal lattice point */