From da02f33cf3722fb1533c4277f3b1cfcf079d4b2f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 May 2019 17:32:05 +0200 Subject: Add documentation for search_peaks_peakfinder8 --- libcrystfel/src/peaks.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'libcrystfel') diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index f5ce8486..a45a51af 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -551,6 +551,22 @@ void search_peaks(struct image *image, float threshold, float min_sq_gradient, } +/** + * \param image An \ref image structure + * \param max_n_peaks The maximum number of peaks to be searched for + * \param threshold The image threshold value, in detector units + * \param min_snr The minimum signal to noise ratio for a peak + * \param min_pix_count The minimum number of pixels in a peak + * \param max_pix_count The maximum number of pixels in a peak + * \param local_bg_radius The averaging radius for background calculation + * \param min_res The minimum number of pixels out from the center + * \param max_res The maximum number of pixels out from the center + * \param use_saturated Whether saturated peaks should be considered + * + * Runs the peakfinder8 peak search algorithm. This is a thin wrapper which + * creates an empty \ref ImageFeatureList for \p image, then calls + * the actual \ref peakfinder8 function, found in \ref peakfinder8.h. + */ int search_peaks_peakfinder8(struct image *image, int max_n_peaks, float threshold, float min_snr, int min_pix_count, int max_pix_count, -- cgit v1.2.3