diff options
author | Thomas White <taw@physics.org> | 2016-04-07 17:36:57 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-07-01 10:17:38 +0200 |
commit | 6309221fcc3c573cdb20a7c953b8964fb85f78c5 (patch) | |
tree | 73955116d69a4b05490ce33dcee4ab90d765bdfc /libcrystfel/src/index.c | |
parent | 984ba3a87edddbe223f4597d322d21971c704c1e (diff) |
No more slab-relative coordinates in libcrystfel
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 6 |
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 */ |