aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index 43bdc42d..c8d36396 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -75,6 +75,9 @@ struct panel
double yfs;
double xss;
double yss;
+
+ int w; /* Width, calculated as max_fs-min_fs+1 */
+ int h; /* Height, calculated as max_ss-min_ss+1 */
};