diff options
author | Thomas White <taw@physics.org> | 2021-01-22 11:25:10 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-01-22 11:25:10 +0100 |
commit | 27a6976e7ec7a5309475bcfe360ec13cb418175f (patch) | |
tree | 596af550f48392a7992c6c8bc1abe29bf74091ae /src/gui_project.c | |
parent | 0985233e652cce6017ef61abbd857a5440e3e46b (diff) |
GUI: Set default values for FoM parameters
Diffstat (limited to 'src/gui_project.c')
-rw-r--r-- | src/gui_project.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index ec6f616b..3eb2293d 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -1014,6 +1014,12 @@ void default_project(struct crystfelproject *proj) proj->merge_results = NULL; proj->n_merge_results = 0; + + proj->fom_res_min = 0.0; + proj->fom_res_max = INFINITY; + proj->fom_nbins = 20; + proj->fom_min_snr = 0.0; + proj->fom_use_min_snr = 0; } |