diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/peaks.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 05c564ba..90ab8385 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -412,6 +412,7 @@ static void search_peaks_in_panel(struct image *image, float threshold, int nrej_fra = 0; int nrej_fail = 0; int nrej_snr = 0; + int nrej_sat = 0; int nacc = 0; int ncull; @@ -506,7 +507,10 @@ static void search_peaks_in_panel(struct image *image, float threshold, if ( saturated ) { image->num_saturated_peaks++; - if ( !use_saturated ) continue; + if ( !use_saturated ) { + nrej_sat++; + continue; + } } /* It is possible for the centroid to fall outside the image */ |