From 79a84416f85a478206867dd8eee7ef157928057f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 30 Aug 2019 16:15:25 +0200 Subject: Don't need separate wavelength for polarisation correction Can use kpred --- libcrystfel/src/geometry.c | 2 +- libcrystfel/src/geometry.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index b99fdd04..13fcbe3b 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -1018,7 +1018,7 @@ err: } -void polarisation_correction(RefList *list, UnitCell *cell, double lambda, +void polarisation_correction(RefList *list, UnitCell *cell, struct polarisation p) { Reflection *refl; diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h index 4bd1624f..db3c0fe8 100644 --- a/libcrystfel/src/geometry.h +++ b/libcrystfel/src/geometry.h @@ -110,7 +110,7 @@ extern double r_gradient(UnitCell *cell, int k, Reflection *refl, struct image *image); extern void update_predictions(Crystal *cryst); extern struct polarisation parse_polarisation(const char *text); -extern void polarisation_correction(RefList *list, UnitCell *cell, double lambda, +extern void polarisation_correction(RefList *list, UnitCell *cell, struct polarisation p); extern double sphere_fraction(double rlow, double rhigh, double pr); -- cgit v1.2.3