diff options
author | Alexandra Tolstikova <alexandra.tolstikova@desy.de> | 2022-09-21 14:22:19 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-09-21 14:22:54 +0200 |
commit | 28b263b02c1029741c89d35b5f726889eb2f1da7 (patch) | |
tree | 78b0cf5330c30be9d09f9d240540353a7cf003ea /libcrystfel/src/index.h | |
parent | 1f53f659e757cc7d4704a885bab50f7060231d16 (diff) |
asdf: Add fast mode
This adds an optional fast mode for asdf indexing, which is around 3
times faster with only a few percent lower success rate.
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r-- | libcrystfel/src/index.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index 30bfa7c7..94018904 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -129,6 +129,12 @@ typedef enum { /** * Indexer-specific "private" options */ + +struct asdf_options { + int fast_execution; +}; + + struct pinkindexer_options { unsigned int considered_peaks_count; unsigned int angle_resolution; @@ -210,12 +216,14 @@ extern struct argp pinkIndexer_argp; extern struct argp taketwo_argp; extern struct argp xgandalf_argp; extern struct argp fromfile_argp; +extern struct argp asdf_argp; extern void default_method_options(struct taketwo_options **ttopts, struct xgandalf_options **xgandalf_opts, struct pinkindexer_options **pinkIndexer_opts, struct felix_options **felix_opts, - struct fromfile_options **fromfile_opts); + struct fromfile_options **fromfile_opts, + struct asdf_options **asdf_opts); extern IndexingPrivate *setup_indexing(const char *methods, UnitCell *cell, @@ -228,7 +236,8 @@ extern IndexingPrivate *setup_indexing(const char *methods, struct xgandalf_options *xgandalf_opts, struct pinkindexer_options *pinkIndexer_opts, struct felix_options *felix_opts, - struct fromfile_options *fromfile_opts); + struct fromfile_options *fromfile_opts, + struct asdf_options *asdf_opts); extern const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n); |