diff options
author | Thomas White <taw@physics.org> | 2022-12-01 16:45:30 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-12-13 17:10:16 +0100 |
commit | 6379e859edfa6003acca688ecabf09a55dfa05d8 (patch) | |
tree | 357765723ead99e38cc4e94a56931879d412a0c7 /src/crystfelfomgraph.h | |
parent | e6fecaa7b2f3cd7931b51781b55808cb07b66b0f (diff) |
GUI: FoM graph, part 2: Data API
Diffstat (limited to 'src/crystfelfomgraph.h')
-rw-r--r-- | src/crystfelfomgraph.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crystfelfomgraph.h b/src/crystfelfomgraph.h index b38752ef..ebe1e1ba 100644 --- a/src/crystfelfomgraph.h +++ b/src/crystfelfomgraph.h @@ -33,6 +33,8 @@ #include <config.h> #endif +#include <fom.h> + #define CRYSTFEL_TYPE_FOM_GRAPH (crystfel_fom_graph_get_type()) #define CRYSTFEL_FOM_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ @@ -72,4 +74,9 @@ typedef struct _crystfelfomgraphclass CrystFELFoMGraphClass; extern GType crystfel_fom_graph_get_type(void); extern GtkWidget *crystfel_fom_graph_new(void); +extern void crystfel_fom_graph_set_data(CrystFELFoMGraph *fg, + double *shell_centers, int n_shells, + enum fom_type *fom_types, + double **fom_values, int n_foms); + #endif /* CRYSTFELFOMGRAPH_H */ |