aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detgeom.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-06-15 17:37:03 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commite9906650fd078b3a8c60581847d8d423f6c22e5e (patch)
tree4d1ae61633945d753ac04adfb24a161468257253 /libcrystfel/src/detgeom.h
parent658c5f8e64b12e656a16630468358534b3740614 (diff)
z-rotation gradients
Diffstat (limited to 'libcrystfel/src/detgeom.h')
-rw-r--r--libcrystfel/src/detgeom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/detgeom.h b/libcrystfel/src/detgeom.h
index 917b6bd3..22f5bd1a 100644
--- a/libcrystfel/src/detgeom.h
+++ b/libcrystfel/src/detgeom.h
@@ -98,6 +98,12 @@ struct detgeom_panel_group
int hierarchy_level;
int member_index;
+ /* Center of panel group, in lab coordinate system (metres)
+ * This will be the rotation center. */
+ double cx;
+ double cy;
+ double cz;
+
/* If n_children > 0, here are the child groups */
struct detgeom_panel_group **children;