diff options
author | Thomas White <taw@physics.org> | 2021-07-12 14:02:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-12 14:02:04 +0200 |
commit | b1ae07a6ca931096514671f0ea226557a570e37a (patch) | |
tree | 7eb3b5807ba4e7113480126c81db0f267033e59b /src/gui_backend_local.c | |
parent | ae069e830874c805646d9d9a2c1b0a2c7eb014a8 (diff) |
GUI: Add --wavelength-estimate and --camera-length-estimate
Only when using PinkIndexer.
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/25
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index 97bb9d7a..d78fc037 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -505,7 +505,9 @@ static void *run_merging(const char *job_title, static void *run_indexing(const char *job_title, const char *job_notes, struct crystfelproject *proj, - void *opts_priv) + void *opts_priv, + double wavelength_estimate, + double clen_estimate) { struct local_indexing_opts *opts = opts_priv; struct local_job *job; @@ -539,7 +541,9 @@ static void *run_indexing(const char *job_title, "crystfel.stream", NULL, 1, &proj->peak_search_params, - &proj->indexing_params) ) + &proj->indexing_params, + wavelength_estimate, + clen_estimate) ) { char *args[3]; args[0] = "sh"; |