aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-11 12:37:03 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:14 +0100
commitaab9901f18326214746402650179a13f22770118 (patch)
tree445663c658cd5a1cb58304145c3878ce31126a0a /src/peaks.h
parent91ffa38ff55e08ed7faf60b2e6b1c8ba27e89f5c (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.h10
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,