aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/geometry.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-11-08 16:24:41 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commite377768607f11d48106bd1381f1312379c342d7e (patch)
tree1e662f0557127e1bd92febd27dfda26f2d5a1960 /libcrystfel/src/geometry.h
parentf3b25d69e888cb66e6a2add491a4f6d5e18f30af (diff)
Crystal: Remove reference to image structure (part 1)
Diffstat (limited to 'libcrystfel/src/geometry.h')
-rw-r--r--libcrystfel/src/geometry.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h
index d05c8832..b9f98694 100644
--- a/libcrystfel/src/geometry.h
+++ b/libcrystfel/src/geometry.h
@@ -35,6 +35,7 @@
#include "cell.h"
#include "crystal.h"
#include "detgeom.h"
+#include "image.h"
#ifdef __cplusplus
extern "C" {
@@ -77,11 +78,12 @@ struct polarisation
};
-extern RefList *predict_to_res(Crystal *cryst, double max_res);
+extern RefList *predict_to_res(Crystal *cryst, struct image *image, double max_res);
-extern void calculate_partialities(Crystal *cryst, PartialityModel pmodel);
+extern void calculate_partialities(Crystal *cryst, struct image *image,
+ PartialityModel pmodel);
-extern void update_predictions(Crystal *cryst);
+extern void update_predictions(Crystal *cryst, struct image *image);
extern struct polarisation parse_polarisation(const char *text);
extern void polarisation_correction(RefList *list, UnitCell *cell,
struct polarisation p);