diff options
author | Thomas White <taw@physics.org> | 2011-03-11 17:51:03 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:19 +0100 |
commit | 38ab00ccb6869318f1a12a96443fa6c23de1f6e7 (patch) | |
tree | 096d834513a8d61a4e6e94b93086e052c37ccbf5 /src/peaks.h | |
parent | 5c198c0e6812f55be6283e12af0b09100edb38bf (diff) |
First part of stream rework
Diffstat (limited to 'src/peaks.h')
-rw-r--r-- | src/peaks.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/peaks.h b/src/peaks.h index 2acb249b..7a6557f1 100644 --- a/src/peaks.h +++ b/src/peaks.h @@ -23,21 +23,16 @@ 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); - -extern void output_pixels(struct image *image, UnitCell *cell, - pthread_mutex_t *mutex, int do_polar, - FILE *ofh, int circular_domain, double domain_r); +extern void integrate_reflections(struct image *image, + int polar, int use_closer); extern int peak_sanity_check(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, double *xc, double *yc, double *intensity, double *pbg, double *pmax, |