From 28b263b02c1029741c89d35b5f726889eb2f1da7 Mon Sep 17 00:00:00 2001 From: Alexandra Tolstikova Date: Wed, 21 Sep 2022 14:22:19 +0200 Subject: 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. --- src/gui_index.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui_index.c') diff --git a/src/gui_index.c b/src/gui_index.c index b629c751..660dac1c 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -577,6 +577,7 @@ static void run_indexing_once(struct crystfelproject *proj) struct xgandalf_options *xgandalf_opts; struct pinkindexer_options *pinkIndexer_opts; struct fromfile_options *fromfile_opts; + struct asdf_options *asdf_opts; char *old_cwd; char *tmpdir; int r; @@ -613,7 +614,8 @@ static void run_indexing_once(struct crystfelproject *proj) &xgandalf_opts, &pinkIndexer_opts, &felix_opts, - &fromfile_opts); + &fromfile_opts, + &asdf_opts); ipriv = setup_indexing(methods, cell, proj->indexing_params.tols, @@ -623,7 +625,7 @@ static void run_indexing_once(struct crystfelproject *proj) 1, taketwoopts, xgandalf_opts, pinkIndexer_opts, felix_opts, - NULL); + NULL, asdf_opts); free(methods); index_pattern(proj->cur_image, ipriv); -- cgit v1.2.3