diff options
author | Thomas White <taw@physics.org> | 2021-02-08 17:58:40 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-02-08 17:58:40 +0100 |
commit | c59bc9ef66c5d4b35ee76dc1b95bcd93aca8d48d (patch) | |
tree | 7807867c4b6dde610c8e11514304f29973196e9a /src/gui_project.c | |
parent | 21f7896cc23ff79fa1e4cb593f8685bdb5c7a082 (diff) |
GUI: Initial FoM calculation
Diffstat (limited to 'src/gui_project.c')
-rw-r--r-- | src/gui_project.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index c8257d49..cfede5e1 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -1017,11 +1017,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_res_min = 100.0; + proj->fom_res_max = 5.0; proj->fom_nbins = 20; - proj->fom_min_snr = 0.0; - proj->fom_use_min_snr = 0; + proj->fom_min_snr = -INFINITY; + proj->fom_min_meas = 1; + proj->fom_cell_filename = NULL; } |