From cc9c0a4ed16963d75dc1b07aef3bdea32f4c0e05 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 19 Jul 2019 16:17:25 +0200 Subject: peakFinder9: remove references to image.num_peaks etc --- libcrystfel/src/peaks.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 1af901e0..6da79e4f 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -596,8 +596,6 @@ int search_peaks_peakfinder9(struct image *image, float min_snr_biggest_pix, image_feature_list_free(image->features); } image->features = image_feature_list_new(); - image->num_peaks = 0; - image->num_saturated_peaks = 0; accuracy_consts.minSNR_biggestPixel = min_snr_biggest_pix; accuracy_consts.minSNR_peakPixel = min_snr_peak_pix; @@ -643,10 +641,8 @@ int search_peaks_peakfinder9(struct image *image, float min_snr_biggest_pix, &det_size_one_panel); peakList.peakCount = 0; - image->num_peaks += peakFinder9_onePanel_noSlab(data_copy, - &accuracy_consts, - &det_size_one_panel, - &peakList); + peakFinder9_onePanel_noSlab(data_copy, &accuracy_consts, + &det_size_one_panel, &peakList); for ( peak_number=0; peak_numberfeatures, -- cgit v1.2.3