From cf34597c5f8583f68eaad22d85c849e1050c922b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 25 Jun 2014 16:01:51 +0200 Subject: Pass the partiality model down from the API level --- libcrystfel/src/geometry.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/geometry.c') diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index c1d433c8..5cc46b2e 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -257,7 +257,8 @@ static Reflection *check_reflection(struct image *image, Crystal *cryst, } -RefList *find_intersections(struct image *image, Crystal *cryst) +RefList *find_intersections(struct image *image, Crystal *cryst, + PartialityModel pmodel) { double ax, ay, az; double bx, by, bz; @@ -319,7 +320,7 @@ RefList *find_intersections(struct image *image, Crystal *cryst) yl = h*asy + k*bsy + l*csy; zl = h*asz + k*bsz + l*csz; - refl = check_reflection(image, cryst, PMODEL_SPHERE, + refl = check_reflection(image, cryst, pmodel, h, k, l, xl, yl, zl); if ( refl != NULL ) { @@ -334,6 +335,7 @@ RefList *find_intersections(struct image *image, Crystal *cryst) } +/* Deprecated: select reflections using Kirian-style pixel proximity */ RefList *select_intersections(struct image *image, Crystal *cryst) { double ax, ay, az; -- cgit v1.2.3