aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-25 15:24:36 +0100
committerThomas White <taw@physics.org>2021-03-25 16:16:01 +0100
commit31ab21aba60d592d7fc78a302e2f5620727445ee (patch)
treeffbe06942043943ec5df9cfcf2ed4a5c9f4e0a5c /libcrystfel/src/index.h
parent1440b2b897845b713450ef1bc8460d2d6d7bb337 (diff)
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.
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r--libcrystfel/src/index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h
index 88b9b67e..a4aef671 100644
--- a/libcrystfel/src/index.h
+++ b/libcrystfel/src/index.h
@@ -171,6 +171,7 @@ extern IndexingPrivate *setup_indexing(const char *methods,
float *ltl,
IndexingFlags flags,
double wavelength_estimate,
+ double clen_estimate,
int n_threads,
struct taketwo_options *ttopts,
struct xgandalf_options *xgandalf_opts,