aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/peaks.h')
-rw-r--r--src/peaks.h9
1 files changed, 5 insertions, 4 deletions
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 */