aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-23 12:01:59 +0200
committerThomas White <taw@physics.org>2013-05-27 17:33:15 +0200
commit4fd346391387f740c29561257a5af3fdfdd56700 (patch)
tree0eee358d475d4ca3bef2d45596fb4de33f71bf1b /libcrystfel/src/peaks.h
parent2977589d2201ade9aa02289a54359288af2ff16e (diff)
Initial integration stuff
Diffstat (limited to 'libcrystfel/src/peaks.h')
-rw-r--r--libcrystfel/src/peaks.h13
1 files changed, 8 insertions, 5 deletions
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 */