aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-16 16:52:05 +0100
committerThomas White <taw@physics.org>2021-02-16 16:52:05 +0100
commitfa7855fded3420940efb4cc88c4f5ff90990cbef (patch)
tree376aab2a9acc499aa4f73a7830e3ce01441d02dd /src
parentf91ffd75782687173ddf82e5b06b217bb3efe225 (diff)
Add some comments
Diffstat (limited to 'src')
-rw-r--r--src/gui_project.c5
-rw-r--r--src/gui_project.h8
2 files changed, 7 insertions, 6 deletions
diff --git a/src/gui_project.c b/src/gui_project.c
index d89c66f9..f053a1cc 100644
--- a/src/gui_project.c
+++ b/src/gui_project.c
@@ -1136,8 +1136,9 @@ void default_project(struct crystfelproject *proj)
proj->fom_min_meas = 1;
proj->fom_cell_filename = NULL;
- proj->export_res_min = INFINITY;
- proj->export_res_max = 0.0;
+ /* NB Export options are currently not saved (because I'm lazy) */
+ proj->export_res_min = INFINITY; /* Angstroms */
+ proj->export_res_max = 0.0; /* Angstroms */
}
diff --git a/src/gui_project.h b/src/gui_project.h
index 37307d3b..4a2fd4dd 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -268,15 +268,15 @@ struct crystfelproject {
struct gui_merge_result *merge_results;
int n_merge_results;
- double fom_res_min;
- double fom_res_max;
+ double fom_res_min; /* Angstroms */
+ double fom_res_max; /* Angstroms */
int fom_nbins;
double fom_min_snr;
int fom_min_meas;
char *fom_cell_filename;
- double export_res_min;
- double export_res_max;
+ double export_res_min; /* Angstroms */
+ double export_res_max; /* Angstroms */
int ambi_use_res;
double ambi_res_min; /* Angstroms */