diff options
author | Thomas White <taw@physics.org> | 2019-07-19 16:17:25 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-07-19 16:20:04 +0200 |
commit | cc9c0a4ed16963d75dc1b07aef3bdea32f4c0e05 (patch) | |
tree | 8ebc820511071b0d0882334517b83dd0b451843c /libcrystfel/src | |
parent | f427c39eed461a43a20c51d14410d7a4de0124b6 (diff) |
peakFinder9: remove references to image.num_peaks etc
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/peaks.c | 8 |
1 files changed, 2 insertions, 6 deletions
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_number<peakList.peakCount; peak_number++) { image_add_feature(image->features, |