From 92e189777e1c7443475973bf7c5304becb424b3e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 3 Jul 2020 10:30:30 +0200 Subject: Add missing defaults --- src/gui_project.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gui_project.c') diff --git a/src/gui_project.c b/src/gui_project.c index 22458daa..f803c103 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -423,12 +423,14 @@ void default_project(struct crystfelproject *proj) proj->peak_search_params.threshold = 800.0; proj->peak_search_params.min_sq_gradient = 100000; proj->peak_search_params.min_snr = 5.0; + proj->peak_search_params.min_pix_count = 2; + proj->peak_search_params.max_pix_count = 200; proj->peak_search_params.local_bg_radius = 3; proj->peak_search_params.min_res = 0; - proj->peak_search_params.min_sig = 11.0; proj->peak_search_params.max_res = 1200; - proj->peak_search_params.min_pix_count = 2; - proj->peak_search_params.max_pix_count = 200; + proj->peak_search_params.min_snr_biggest_pix = 7.0; + proj->peak_search_params.min_snr_peak_pix = 6.0; + proj->peak_search_params.min_sig = 11.0; proj->peak_search_params.min_peak_over_neighbour = -INFINITY; proj->peak_search_params.pk_inn = 3.0; proj->peak_search_params.pk_mid = 4.0; -- cgit v1.2.3