aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-04-23 17:53:38 +0200
committerThomas White <taw@physics.org>2015-04-28 14:47:19 +0200
commit3524a781545149f4f27edcd1e402a7c896a926ec (patch)
tree710032ef97651b842343a1e54598019b7059e5fb
parent161943a19eadbf649eb0a85f044f9f3776171a89 (diff)
Remove old code
-rw-r--r--src/predict-refine.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index cedcb370..b2cd2ea6 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -289,11 +289,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 > 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;
- }
+ if ( pd > 10.0 * 10.0 ) continue;
rps[n_acc] = rps[i];
rps[n_acc].refl = reflection_new(h, k, l);
@@ -715,7 +711,6 @@ int refine_prediction(struct image *image, Crystal *cr)
return 1;
}
crystal_set_reflections(cr, reflist);
- //write_pairs("pairs.lst", rps, n, image->det);
/* Normalise the intensities to max 1 */
max_I = -INFINITY;