diff options
author | Thomas White <taw@physics.org> | 2024-01-18 10:25:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 16:59:34 +0100 |
commit | 36b79bb6f65018fe74f63291857263c6a14d5697 (patch) | |
tree | 80e6da762a96089086fe18daebfd30594209ffc9 /libcrystfel/src/geometry.h | |
parent | 8b51b44b1575a5e4c8d1c41924cebed93ff8d8cc (diff) |
Crystals shouldn't own RefLists (part 4)
This fixes the general prediction/partiality parts.
Diffstat (limited to 'libcrystfel/src/geometry.h')
-rw-r--r-- | libcrystfel/src/geometry.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h index b9f98694..217cb9ea 100644 --- a/libcrystfel/src/geometry.h +++ b/libcrystfel/src/geometry.h @@ -80,10 +80,12 @@ struct polarisation extern RefList *predict_to_res(Crystal *cryst, struct image *image, double max_res); -extern void calculate_partialities(Crystal *cryst, struct image *image, +extern void calculate_partialities(RefList *list, + Crystal *cryst, + struct image *image, PartialityModel pmodel); -extern void update_predictions(Crystal *cryst, struct image *image); +extern void update_predictions(RefList *list, Crystal *cryst, struct image *image); extern struct polarisation parse_polarisation(const char *text); extern void polarisation_correction(RefList *list, UnitCell *cell, struct polarisation p); |