aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/peaks.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.h b/libcrystfel/src/peaks.h
index d6d5c1f9..89634269 100644
--- a/libcrystfel/src/peaks.h
+++ b/libcrystfel/src/peaks.h
@@ -58,6 +58,38 @@ enum peak_search_method {
PEAK_ERROR
};
+
+struct peak_params {
+
+ enum peak_search_method method;
+
+ float threshold; /* zaef, pf8 */
+ float min_sq_gradient; /* zaef */
+ float min_snr; /* zaef, pf8 */
+ int min_pix_count; /* pf8 */
+ int max_pix_count; /* pf8 */
+ int local_bg_radius; /* pf8 */
+ int min_res; /* pf8 */
+ int max_res; /* pf8 */
+ int peakfinder8_fast; /* pf8 */
+
+ float min_snr_biggest_pix; /* pf9 */
+ float min_snr_peak_pix; /* pf9 */
+ float min_sig; /* pf9 */
+ float min_peak_over_neighbour; /* pf9 */
+
+ float pk_inn;
+ float pk_mid;
+ float pk_out;
+ int half_pixel_shift; /* cxi, hdf5 */
+ int revalidate;
+ int noisefilter;
+ int median_filter;
+ int check_hdf5_snr;
+ int use_saturated;
+};
+
+
extern const char *str_peaksearch(enum peak_search_method meth);
extern enum peak_search_method parse_peaksearch(const char *arg);