From 4fd346391387f740c29561257a5af3fdfdd56700 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 23 May 2013 12:01:59 +0200 Subject: Initial integration stuff --- libcrystfel/src/peaks.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libcrystfel/src/peaks.h') diff --git a/libcrystfel/src/peaks.h b/libcrystfel/src/peaks.h index f788bae5..b94ebee5 100644 --- a/libcrystfel/src/peaks.h +++ b/libcrystfel/src/peaks.h @@ -37,16 +37,13 @@ #include "reflist.h" +extern int *make_BgMask(struct image *image, struct panel *p, double ir_inn); + extern void search_peaks(struct image *image, float threshold, float min_gradient, float min_snr, double ir_inn, double ir_mid, double ir_out, int use_saturated); -extern void integrate_reflections(struct image *image, - int use_closer, int bgsub, double min_snr, - double ir_inn, double ir_mid, double ir_out, - int integrate_saturated, int res_cutoff); - extern int peak_sanity_check(struct image *image, Crystal **crystals, int n_cryst); @@ -54,4 +51,10 @@ extern void validate_peaks(struct image *image, double min_snr, int ir_inn, int ir_mid, int ir_out, int use_saturated); +extern int integrate_peak(struct image *image, int cfs, int css, + double *pfs, double *pss, + double *intensity, double *sigma, + double ir_inn, double ir_mid, double ir_out, + int *bgPkMask, int *saturated); + #endif /* PEAKS_H */ -- cgit v1.2.3