From 31ab21aba60d592d7fc78a302e2f5620727445ee Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 25 Mar 2021 15:24:36 +0100 Subject: indexamajig: Add --camera-length-estimate Unfortunately, PinkIndexer needs the real camera length for its centre refinement. Giving a fake value and scaling the resulting shift does not work - the indexing rate drops with even a small error. Ideally, this would work in the same way as --wavelength-estimate, by using a static value from the geometry file if it's given. However, this is rather complicated to implement because of the way all the units stuff is implemented. Therefore, this is left as an improvement for the future. --- libcrystfel/src/indexers/pinkindexer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src/indexers/pinkindexer.h') diff --git a/libcrystfel/src/indexers/pinkindexer.h b/libcrystfel/src/indexers/pinkindexer.h index 358a8221..122bac87 100644 --- a/libcrystfel/src/indexers/pinkindexer.h +++ b/libcrystfel/src/indexers/pinkindexer.h @@ -42,7 +42,8 @@ extern int run_pinkIndexer(struct image *image, void *ipriv, int n_threads); extern void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell, struct pinkIndexer_options *pinkIndexer_opts, - double wavelength_estimate); + double wavelength_estimate, + double clen_estimate); extern void pinkIndexer_cleanup(void *pp); -- cgit v1.2.3