diff options
author | Thomas White <taw@physics.org> | 2019-09-23 14:56:27 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-23 14:56:27 +0200 |
commit | 7251c3d83cc0bce49597ec41f97f930d5f70fb78 (patch) | |
tree | 4f0801ede67a2143cc05c86c314ecab40502e46a /libcrystfel/src/index.h | |
parent | 7fcddbf213e2674871ef078a3b228a32fd9f488f (diff) | |
parent | aad71902c94b3bc21ab34b0e2c92972400921574 (diff) |
Merge branch 'tom/pinkindexer'
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r-- | libcrystfel/src/index.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index eb5cf7e4..5e9e40ad 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -63,6 +63,8 @@ #define INDEXING_DEFAULTS_XGANDALF (INDEXING_XGANDALF | INDEXING_USE_CELL_PARAMETERS) +#define INDEXING_DEFAULTS_PINKINDEXER (INDEXING_PINKINDEXER | INDEXING_USE_CELL_PARAMETERS) + /** * An enumeration of all the available indexing methods. **/ @@ -79,6 +81,7 @@ typedef enum { INDEXING_ASDF = 8, /**< Use built-in ASDF algorithm */ INDEXING_TAKETWO = 9, /**< Use built-in TakeTwo algorithm */ INDEXING_XGANDALF = 10, /**< Use XGANDALF (via optional library) */ + INDEXING_PINKINDEXER = 11,/**< Use PinkIndexer (via optional library) */ INDEXING_ERROR = 255, /**< Special value for unrecognised indexing * engine */ @@ -146,16 +149,20 @@ extern IndexingMethod get_indm_from_string_2(const char *method, int *err); #include "image.h" #include "taketwo.h" #include "xgandalf.h" +#include "pinkindexer.h" #include "felix.h" - extern IndexingPrivate *setup_indexing(const char *methods, UnitCell *cell, - struct detector *det, float *ltl, + struct detector *det, + struct beam_params *beam, float *ltl, IndexingFlags flags, struct taketwo_options *ttopts, struct xgandalf_options *xgandalf_opts, + struct pinkIndexer_options *pinkIndexer_opts, struct felix_options *felix_opts); +extern const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n); + extern char *detect_indexing_methods(UnitCell *cell); extern void index_pattern(struct image *image, IndexingPrivate *ipriv); |