/* * xgandalf.h * * Created on: 08.08.2017 * Author: gevorkov */ #ifndef LIBCRYSTFEL_SRC_XGANDALF_H #define LIBCRYSTFEL_SRC_XGANDALF_H #ifdef HAVE_CONFIG_H #include #endif struct xgandalf_options { unsigned int sampling_pitch; unsigned int grad_desc_iterations; float tolerance; unsigned int no_deviation_from_provided_cell; float minLatticeVectorLength_A; float maxLatticeVectorLength_A; }; #include #include "index.h" extern int run_xgandalf(struct image *image, void *ipriv); extern void *xgandalf_prepare(IndexingMethod *indm, UnitCell *cell, struct xgandalf_options *xgandalf_opts); extern void xgandalf_cleanup(void *pp); extern const char *xgandalf_probe(UnitCell *cell); #endif /* LIBCRYSTFEL_SRC_XGANDALF_H */