aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-05-19 13:37:58 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commitb217ce28524c0f7921bd8cd5a9ef6355443cd1e3 (patch)
tree0c2ea1a2f0869eed20f797f3e20510ae88b58a82 /libcrystfel/src/datatemplate_priv.h
parentb59973fb1b1f38c0569b784a02f5f1898735ae85 (diff)
Make 'clen' a top-level geometry property, instead of per-panel
This makes huge simplifications in a lot of areas, and in practice should not be noticed by anyone.
Diffstat (limited to 'libcrystfel/src/datatemplate_priv.h')
-rw-r--r--libcrystfel/src/datatemplate_priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/datatemplate_priv.h b/libcrystfel/src/datatemplate_priv.h
index f7830a49..aaecf283 100644
--- a/libcrystfel/src/datatemplate_priv.h
+++ b/libcrystfel/src/datatemplate_priv.h
@@ -125,9 +125,6 @@ struct panel_template
double cny;
/**@}*/
- /** Location to get cnz from, e.g. from HDF5 file */
- char *cnz_from;
-
/** The offset to be applied from clen */
double cnz_offset;
@@ -242,6 +239,9 @@ struct _datatemplate
char *shift_x_from;
char *shift_y_from;
+ /** Location to get detector z from, e.g. from HDF5 file */
+ char *cnz_from;
+
char *headers_to_copy[MAX_COPY_HEADERS];
int n_headers_to_copy;
};