aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-04-17 17:38:07 +0200
committerThomas White <taw@physics.org>2015-04-20 15:50:41 +0200
commit7113ae5438f9d27adddf1276557b66eda258ad21 (patch)
treeb43ca4ddd31d702cb630d5fdc098d4c6673efe4a
parentb9312ad422ec89b380cb38746e60345f5649e46e (diff)
Tweak pairing procedure
-rw-r--r--src/predict-refine.c2
1 files changed, 1 insertions, 1 deletions
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;