aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction.h')
-rw-r--r--src/diffraction.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/diffraction.h b/src/diffraction.h
index f3608a4b..85d06cc2 100644
--- a/src/diffraction.h
+++ b/src/diffraction.h
@@ -19,10 +19,16 @@
#include "image.h"
#include "cell.h"
+typedef enum {
+ GRADIENT_MOSAIC,
+ GRADIENT_INTERPOLATE,
+ GRADIENT_PHASED
+} GradientMethod;
+
extern void get_diffraction(struct image *image, int na, int nb, int nc,
const double *intensities,
const unsigned int *counts, UnitCell *cell,
- int do_water);
+ int do_water, GradientMethod m);
extern struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys,
unsigned int sampling, float *ttp, float k);