aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-08 14:11:28 +0200
committerThomas White <taw@physics.org>2015-07-08 15:58:51 +0200
commit224e98bf0930f654fcfdd4be8ba6cc54510f195a (patch)
tree9a8e2eca93c1d8f7595e9539bdf5173d9c0caa95 /libcrystfel/src/geometry.h
parent3638ffdee226e248c351362fed7fdc213d4d39b0 (diff)
Move {x,y}_gradient to geometry.h
Diffstat (limited to 'libcrystfel/src/geometry.h')
-rw-r--r--libcrystfel/src/geometry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h
index 152c0e47..474755b2 100644
--- a/libcrystfel/src/geometry.h
+++ b/libcrystfel/src/geometry.h
@@ -98,6 +98,11 @@ extern void polarisation_correction(RefList *list, UnitCell *cell,
extern double sphere_fraction(double rlow, double rhigh, double pr);
extern double gaussian_fraction(double rlow, double rhigh, double pr);
+extern double x_gradient(int param, Reflection *refl, UnitCell *cell,
+ struct panel *p, double lambda);
+extern double y_gradient(int param, Reflection *refl, UnitCell *cell,
+ struct panel *p, double lambda);
+
#ifdef __cplusplus
}
#endif