aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-15 12:17:59 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:40 +0100
commit469efb904b59f137ac9e85e5ff23edd0c113de5c (patch)
tree71fab5f5715ec9f88984450cdabb592cd49dd46d /libcrystfel/src/peaks.h
parent38089071300b8e04ed42236dd08d9055094fb3b8 (diff)
Move a load more stuff into libcrystfel
Diffstat (limited to 'libcrystfel/src/peaks.h')
-rw-r--r--libcrystfel/src/peaks.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.h b/libcrystfel/src/peaks.h
new file mode 100644
index 00000000..9d475ea9
--- /dev/null
+++ b/libcrystfel/src/peaks.h
@@ -0,0 +1,38 @@
+/*
+ * peaks.h
+ *
+ * Peak search and other image analysis
+ *
+ * (c) 2006-2010 Thomas White <taw@physics.org>
+ *
+ * Part of CrystFEL - crystallography with a FEL
+ *
+ */
+
+
+#ifndef PEAKS_H
+#define PEAKS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <pthread.h>
+
+#include "reflist.h"
+
+extern void search_peaks(struct image *image, float threshold,
+ float min_gradient, float min_snr);
+
+extern void integrate_reflections(struct image *image,
+ int polar, int use_closer, int bgsub);
+
+extern int peak_sanity_check(struct image * image);
+
+/* Exported so it can be poked by integration_check */
+extern int integrate_peak(struct image *image, int cfs, int css,
+ double *pfs, double *pss, double *intensity,
+ double *pbg, double *pmax, double *sigma,
+ int do_polar, int centroid, int bgsub);
+
+#endif /* PEAKS_H */