aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-17 16:34:40 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit338b689468f1116ba17bae2f0b8c8adfb3ec7667 (patch)
tree700b03279f3364cba9b0c070aff4936788428a54
parentaa183716dbe65a047b8e33aa7b4a8e2bdba7d99e (diff)
Pass through parameters for peakfinder8
-rw-r--r--src/gui_backend_local.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index c811a655..44e9e7ed 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -140,6 +140,21 @@ static int run_unitcell(struct crystfelproject *proj,
proj->peak_search_params.min_sq_gradient);
add_arg(args, n_args++, "min-snr",
proj->peak_search_params.min_snr);
+ } else if ( proj->peak_search_params.method == PEAK_PEAKFINDER8 ) {
+ add_arg(args, n_args++, "threshold",
+ proj->peak_search_params.threshold);
+ add_arg(args, n_args++, "min-snr",
+ proj->peak_search_params.min_snr);
+ add_arg(args, n_args++, "min-pix-count",
+ proj->peak_search_params.min_pix_count);
+ add_arg(args, n_args++, "max-pix-count",
+ proj->peak_search_params.max_pix_count);
+ add_arg(args, n_args++, "local-bg-radius",
+ proj->peak_search_params.local_bg_radius);
+ add_arg(args, n_args++, "min-res",
+ proj->peak_search_params.min_res);
+ add_arg(args, n_args++, "max-res",
+ proj->peak_search_params.max_res);
}
args[n_args] = NULL;