From e0c2ff59af7421d2ef10ffc02978ff0964b5daff Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 1 Jun 2011 17:15:49 +0200 Subject: Make background subtraction optional --- src/peaks.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/peaks.h') diff --git a/src/peaks.h b/src/peaks.h index 2faa2b5e..ec473fd1 100644 --- a/src/peaks.h +++ b/src/peaks.h @@ -25,7 +25,7 @@ extern void search_peaks(struct image *image, float threshold, float min_gradient); extern void integrate_reflections(struct image *image, - int polar, int use_closer); + int polar, int use_closer, int bgsub); extern int peak_sanity_check(struct image *image, UnitCell *cell, int circular_domain, double domain_r); @@ -33,9 +33,10 @@ extern int peak_sanity_check(struct image *image, UnitCell *cell, extern RefList *find_projected_peaks(struct image *image, UnitCell *cell, int circular_domain, double domain_r); -extern int integrate_peak(struct image *image, int xp, int yp, - double *xc, double *yc, double *intensity, +/* Exported so it can be poked by integration_check */ +extern int integrate_peak(struct image *image, int cfs, int css, + double *pfs, double *pss, double *intensity, double *pbg, double *pmax, double *sigma, - int do_polar, int centroid); + int do_polar, int centroid, int bgsub); #endif /* PEAKS_H */ -- cgit v1.2.3