aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-17 14:41:21 +0100
committerThomas White <taw@physics.org>2021-02-17 14:41:21 +0100
commit5a549e4fdc6265748fa2eabacb19f5ff850d27eb (patch)
treefe92ecd3764bb10b107b8139cf9c823230e2bb94 /src/gui_project.h
parenta2d88b99434ce0a6a3d663b780c424b27ce95a46 (diff)
GUI: Move ambigator parameters to separate structure
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index 123a926a..f62de101 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -114,6 +114,18 @@ struct merging_params {
float push_res;
};
+struct ambi_params {
+ int use_res;
+ double res_min; /* Angstroms */
+ double res_max; /* Angstroms */
+ int niter;
+ int use_ncorr;
+ int ncorr;
+ char *sym;
+ char *source_sym;
+ char *operator;
+};
+
struct gui_indexing_result
{
char *name;
@@ -308,15 +320,7 @@ struct crystfelproject {
char *ambi_new_job_title;
int ambi_backend_selected;
GtkWidget *ambi_opts;
- int ambi_use_res;
- double ambi_res_min; /* Angstroms */
- double ambi_res_max; /* Angstroms */
- int ambi_niter;
- int ambi_use_ncorr;
- int ambi_ncorr;
- char *ambi_sym;
- char *ambi_source_sym;
- char *ambi_operator;
+ struct ambi_params ambi_params;
};
extern enum match_type_id decode_matchtype(const char *type_id);