aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-05-07 17:32:05 +0200
committerThomas White <taw@physics.org>2019-05-14 10:02:50 +0200
commitda02f33cf3722fb1533c4277f3b1cfcf079d4b2f (patch)
treed24ba0bfb05e26ca2077995acd787d42fbf0d5a9 /libcrystfel
parent0f7396045b5242ab8271b22e97b53ccd42f60397 (diff)
Add documentation for search_peaks_peakfinder8
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/peaks.c16
1 files changed, 16 insertions, 0 deletions
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,