From 984379c6c48a2325134b5f1edfff78934604e1ae Mon Sep 17 00:00:00 2001 From: Valerio Mariani Date: Mon, 13 Mar 2017 11:37:38 +0100 Subject: Added management of max_num_peaks per image instead of per panel --- libcrystfel/src/peakfinder8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcrystfel/src/peakfinder8.c b/libcrystfel/src/peakfinder8.c index 82a7e316..9ad0e4bd 100644 --- a/libcrystfel/src/peakfinder8.c +++ b/libcrystfel/src/peakfinder8.c @@ -1036,6 +1036,8 @@ int peakfinder8(struct image *img, int max_n_peaks, peaks_to_add = max_n_peaks; } + max_n_peaks -= peaks_to_add; + for ( pki=0 ; pki