From 76b82c5c62311f3fcba6b9a55431653fcf226413 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 29 Apr 2010 18:24:49 +0200 Subject: Clarify peak statistics --- src/peaks.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/peaks.c') diff --git a/src/peaks.c b/src/peaks.c index bbcb71bc..840e8c26 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -377,7 +377,6 @@ void output_intensities(struct image *image, UnitCell *cell, int i; int n_found; int n_close = 0; - int n_nonclose = 0; cell_get_cartesian(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); @@ -489,8 +488,6 @@ void output_intensities(struct image *image, UnitCell *cell, if ( (f != NULL) && (d < 30.0) ) { n_close++; - } else { - n_nonclose++; } /* Write h,k,l, integrated intensity and centroid coordinates */ @@ -500,10 +497,9 @@ void output_intensities(struct image *image, UnitCell *cell, } n_found = image_feature_count(image->features); - printf("Peak statistics: %i found, of which " - "%i were close to indexed positions. " - "%i indexed positions were not close to any detected peak.\n", - n_found, n_close, n_nonclose); + printf("Peak statistics: %i found by peak search. " + "%i indexed positions out of %i were close to detected peaks\n", + n_found, n_close, n_hits); /* Blank line at end */ printf("\n"); -- cgit v1.2.3