aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-03 10:30:30 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit92e189777e1c7443475973bf7c5304becb424b3e (patch)
treea9d605ff478ad0537632b9861d698a10be6a1324
parentc68488f1f82883ab025093cdcc6af4d43ce43cd5 (diff)
Add missing defaults
-rw-r--r--src/gui_project.c8
1 files changed, 5 insertions, 3 deletions
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;