diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/index.c | 6 | ||||
-rw-r--r-- | libcrystfel/src/index.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index cc9f0248..05d669a1 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -461,6 +461,12 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, } +const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n) +{ + return p->methods; +} + + void cleanup_indexing(IndexingPrivate *ipriv) { int n; diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index 883df4a3..4fc95b1d 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -161,6 +161,8 @@ extern IndexingPrivate *setup_indexing(const char *methods, UnitCell *cell, 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); |