diff options
author | Yaroslav Gevorkov <yaroslav.gevorkov@desy.de> | 2018-06-18 13:12:45 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-06-18 13:17:02 +0200 |
commit | f5f03547684c030eaeb2eb64d03ac5ae9e696b79 (patch) | |
tree | d9a7768e724c1c2bffef0af41365cd708e7e6a1a /libcrystfel/src/xgandalf.h | |
parent | b48a3d9aba6ce80ce8f0b2121e815cc20015532a (diff) |
Add interface to XGANDALF indexer
Diffstat (limited to 'libcrystfel/src/xgandalf.h')
-rw-r--r-- | libcrystfel/src/xgandalf.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libcrystfel/src/xgandalf.h b/libcrystfel/src/xgandalf.h new file mode 100644 index 00000000..be9033cb --- /dev/null +++ b/libcrystfel/src/xgandalf.h @@ -0,0 +1,36 @@ +/* + * xgandalf.h + * + * Created on: 08.08.2017 + * Author: gevorkov + */ + +#ifndef LIBCRYSTFEL_SRC_XGANDALF_H_ +#define LIBCRYSTFEL_SRC_XGANDALF_H_ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +struct xgandalf_options { + unsigned int sampling_pitch; + unsigned int grad_desc_iteration_selector; + float tolerance; + unsigned int no_deviation_from_provided_cell; + float minLatticeVectorLength_A; + float maxLatticeVectorLength_A; +}; + +#include <stddef.h> +#include "index.h" + +int run_xgandalf(struct image *image, void *ipriv); + +void *xgandalf_prepare(IndexingMethod *indm, UnitCell *cell, + struct xgandalf_options *xgandalf_opts); + +void xgandalf_cleanup(void *pp); +const char *xgandalf_probe(UnitCell *cell); + + +#endif /* LIBCRYSTFEL_SRC_XGANDALF_H_ */ |