diff options
author | Thomas White <taw@physics.org> | 2016-11-08 16:20:58 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-02-27 11:02:02 +0100 |
commit | d813960912ddc76d5cff0501b4f7783c3eeca95d (patch) | |
tree | 4dc11e2ecd789d34a451abc81d799508118a6b86 /libcrystfel/src/geometry.h | |
parent | cc64a9ae6c4ca7518ba904d6cdf38b3d8dccbbf7 (diff) |
Separate partiality calculation from prediction
Diffstat (limited to 'libcrystfel/src/geometry.h')
-rw-r--r-- | libcrystfel/src/geometry.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libcrystfel/src/geometry.h b/libcrystfel/src/geometry.h index 6b035175..4fbd0bca 100644 --- a/libcrystfel/src/geometry.h +++ b/libcrystfel/src/geometry.h @@ -3,12 +3,12 @@ * * Geometry of diffraction * - * Copyright © 2013-2015 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2013-2016 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * Copyright © 2012 Richard Kirian * * Authors: - * 2010-2015 Thomas White <taw@physics.org> + * 2010-2016 Thomas White <taw@physics.org> * 2012 Richard Kirian * * This file is part of CrystFEL. @@ -85,15 +85,13 @@ enum gparam { }; -extern RefList *find_intersections(struct image *image, Crystal *cryst, - PartialityModel pmodel); -extern RefList *find_intersections_to_res(struct image *image, Crystal *cryst, - PartialityModel pmodel, - double max_res); +extern RefList *predict_to_res(Crystal *cryst, double max_res); + +extern void calculate_partialities(Crystal *cryst, PartialityModel pmodel); extern double r_gradient(UnitCell *cell, int k, Reflection *refl, struct image *image); -extern void update_partialities(Crystal *cryst, PartialityModel pmodel); +extern void update_predictions(Crystal *cryst); extern void polarisation_correction(RefList *list, UnitCell *cell, struct image *image); |