/* * peaks.h * * Peak search and other image analysis * * (c) 2006-2010 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifndef PEAKS_H #define PEAKS_H #ifdef HAVE_CONFIG_H #include #endif #include #include "reflist.h" extern void search_peaks(struct image *image, float threshold, float min_gradient); 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, int do_polar, int centroid); #endif /* PEAKS_H */