aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-30 17:12:48 +0100
committerThomas White <taw@physics.org>2012-11-30 17:31:29 +0100
commit172ec11656529c5fedcb6b8bce21652c75fd46af (patch)
tree6d3e60789fafd57841f3dda6c9f52dbe7928a8c5 /libcrystfel/src/detector.h
parent0211244120eb84aced1f8d1785e31ca29943dafa (diff)
Calculate minimum and maximum 1/d without iterating over every pixel
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index 1cd64716..43bdc42d 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -106,6 +106,18 @@ struct detector
char **rigid_groups;
int num_rigid_groups;
+ /* Location of the pixel furthest away from the beam position, which
+ * will have the largest value of 2theta regardless of camera length
+ * and wavelength */
+ struct panel *furthest_out_panel;
+ double furthest_out_fs;
+ double furthest_out_ss;
+
+ /* As above, but for the smallest 2theta */
+ struct panel *furthest_in_panel;
+ double furthest_in_fs;
+ double furthest_in_ss;
+
struct panel defaults;
};