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/indexers/asdf.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/indexers/asdf.h')
-rw-r--r-- | libcrystfel/src/indexers/asdf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/asdf.h b/libcrystfel/src/indexers/asdf.h index 98095e3c..a382b05d 100644 --- a/libcrystfel/src/indexers/asdf.h +++ b/libcrystfel/src/indexers/asdf.h @@ -31,6 +31,7 @@ #ifndef ASDF_H #define ASDF_H +#include <argp.h> #include "index.h" #ifdef __cplusplus @@ -43,8 +44,10 @@ extern "C" { */ extern int run_asdf(struct image *image, void *ipriv); +extern int asdf_default_options(struct asdf_options **opts_ptr); -extern void *asdf_prepare(IndexingMethod *indm, UnitCell *cell); +extern void *asdf_prepare(IndexingMethod *indm, UnitCell *cell, + struct asdf_options *asdf_opts); extern const char *asdf_probe(UnitCell *cell); extern void asdf_cleanup(void *pp); |