aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelindexingopts.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-11-20 17:34:47 +0100
committerThomas White <taw@physics.org>2020-11-20 17:36:49 +0100
commite9087293e5b7b92e64cb9cb7636e21f52611ac7c (patch)
tree8450d81e5defccaa3e49e6ba5ef3710134f93d35 /src/crystfelindexingopts.h
parentc570bbe16cb68cfb340e4ce3bc8c66831a08a306 (diff)
GUI: Add stream output options including metadata to copy
Diffstat (limited to 'src/crystfelindexingopts.h')
-rw-r--r--src/crystfelindexingopts.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/crystfelindexingopts.h b/src/crystfelindexingopts.h
index 32c8de44..f5b8ad8c 100644
--- a/src/crystfelindexingopts.h
+++ b/src/crystfelindexingopts.h
@@ -54,6 +54,9 @@ struct _crystfelindexingopts
GtkNotebook parent_instance;
/*< private >*/
+ int show_stream_opts;
+ GtkWidget *stream_params; /* Stream output page */
+
char *cell_file;
GtkWidget *cell_chooser;
GtkWidget *auto_indm;
@@ -76,6 +79,11 @@ struct _crystfelindexingopts
GtkWidget *ir_inn;
GtkWidget *ir_mid;
GtkWidget *ir_out;
+
+ GtkWidget *exclude_nonhits;
+ GtkWidget *no_peaks_in_stream;
+ GtkWidget *no_refls_in_stream;
+ GtkListStore *copy_metadata_store;
};
struct _crystfelindexingoptsclass
@@ -107,7 +115,14 @@ extern void crystfel_indexing_opts_get_integration_radii(CrystFELIndexingOpts *o
float *ir_inn,
float *ir_mid,
float *ir_out);
+extern int crystfel_indexing_opts_get_exclude_blanks(CrystFELIndexingOpts *opts);
+extern int crystfel_indexing_opts_get_exclude_peaks(CrystFELIndexingOpts *opts);
+extern int crystfel_indexing_opts_get_exclude_reflections(CrystFELIndexingOpts *opts);
+extern char **crystfel_indexing_opts_get_metadata_to_copy(CrystFELIndexingOpts *opts,
+ int *n);
+extern void crystfel_indexing_opts_set_show_stream_opts(CrystFELIndexingOpts *opts,
+ int val);
extern void crystfel_indexing_opts_set_cell_file(CrystFELIndexingOpts *opts,
const char *cell_file);
@@ -138,5 +153,14 @@ extern void crystfel_indexing_opts_set_integration_radii(CrystFELIndexingOpts *o
float ir_inn,
float ir_mid,
float ir_out);
+extern void crystfel_indexing_opts_set_metadata_to_copy(CrystFELIndexingOpts *opts,
+ char *const *headers,
+ int n_headers);
+extern void crystfel_indexing_opts_set_exclude_blanks(CrystFELIndexingOpts *opts,
+ int flag);
+extern void crystfel_indexing_opts_set_exclude_peaks(CrystFELIndexingOpts *opts,
+ int flag);
+extern void crystfel_indexing_opts_set_exclude_reflections(CrystFELIndexingOpts *opts,
+ int flag);
#endif /* CRYSTFELINDEXINGOPTS_H */