From 7113ae5438f9d27adddf1276557b66eda258ad21 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 Apr 2015 17:38:07 +0200 Subject: Tweak pairing procedure --- src/predict-refine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/predict-refine.c b/src/predict-refine.c index 996509e9..a1f65691 100644 --- a/src/predict-refine.c +++ b/src/predict-refine.c @@ -247,7 +247,7 @@ static int pair_peaks(struct image *image, Crystal *cr, get_detector_pos(refl, &fs, &ss); pd = pow(fs - rps[i].peak->fs, 2.0) + pow(ss - rps[i].peak->ss, 2.0); - if ( pd > 100.0 * 100.0 ) { + if ( pd > 10.0 * 10.0 ) { //STATUS("rejecting %i %i %i because %f %f -> %f %f\n", // h, k, l, fs, ss, rps[i].peak->fs, rps[i].peak->ss); continue; -- cgit v1.2.3