aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-22 21:46:05 -0800
committerThomas White <taw@physics.org>2013-11-23 02:52:52 -0800
commit130b1bd699079e6418f6f8d44fca191cfd102f70 (patch)
tree0ea36c62c1e4f0f43c14779a20cac708d68099db /libcrystfel/src/integration.h
parentd1348f0f31f57bcf35d096f32a7d8325fe43195f (diff)
indexamajig: Add --int-diag
Diffstat (limited to 'libcrystfel/src/integration.h')
-rw-r--r--libcrystfel/src/integration.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h
index 1273348d..68ce91ec 100644
--- a/libcrystfel/src/integration.h
+++ b/libcrystfel/src/integration.h
@@ -33,6 +33,16 @@
#include <config.h>
#endif
+
+typedef enum {
+
+ INTDIAG_NONE,
+ INTDIAG_RANDOM,
+ INTDIAG_ALL,
+ INTDIAG_INDICES
+
+} IntDiag;
+
#define INTEGRATION_DEFAULTS_RINGS (INTEGRATION_RINGS)
#define INTEGRATION_DEFAULTS_PROF2D (INTEGRATION_PROF2D | INTEGRATION_CENTER)
@@ -68,6 +78,9 @@ typedef enum {
extern IntegrationMethod integration_method(const char *t, int *err);
extern void integrate_all(struct image *image, IntegrationMethod meth,
- double ir_inn, double ir_mid, double ir_out);
+ double ir_inn, double ir_mid, double ir_out,
+ IntDiag int_diag,
+ signed int idh, signed int idk, signed int idl);
+
#endif /* INTEGRATION_H */