diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-02-11 12:37:03 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:14 +0100 |
commit | aab9901f18326214746402650179a13f22770118 (patch) | |
tree | 445663c658cd5a1cb58304145c3878ce31126a0a /src/peaks.h | |
parent | 91ffa38ff55e08ed7faf60b2e6b1c8ba27e89f5c (diff) |
Make find_projected_peaks() behave like find_intersections()
Also make sure output_intensities() deals only with integration
Diffstat (limited to 'src/peaks.h')
-rw-r--r-- | src/peaks.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/peaks.h b/src/peaks.h index 8b506e42..2801153d 100644 --- a/src/peaks.h +++ b/src/peaks.h @@ -19,14 +19,16 @@ #include <pthread.h> +#include "reflist.h" + extern void search_peaks(struct image *image, float threshold, float min_gradient); extern void dump_peaks(struct image *image, FILE *ofh, pthread_mutex_t *mutex); extern void output_intensities(struct image *image, UnitCell *cell, + RefList *reflections, pthread_mutex_t *mutex, int polar, - int use_closer, FILE *ofh, int circular_domain, - double domain_r); + int use_closer, FILE *ofh); extern void output_pixels(struct image *image, UnitCell *cell, pthread_mutex_t *mutex, int do_polar, @@ -34,8 +36,8 @@ extern void output_pixels(struct image *image, UnitCell *cell, extern int peak_sanity_check(struct image *image, UnitCell *cell, int circular_domain, double domain_r); -extern int find_projected_peaks(struct image *image, UnitCell *cell, - int circular_domain, double domain_r); +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, float *xc, float *yc, float *intensity, double *pbg, double *pmax, |