aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-02 13:53:28 -0700
committerThomas White <taw@physics.org>2013-06-02 13:53:28 -0700
commit8a44164cfd5013687a0eb5cb10dc39c44db399c0 (patch)
tree5a6c35a3d3e93d5d7d19c83e29e34ff61c31c95f /libcrystfel/src/detector.h
parentbf06abfb01d009d604c9f734e4d77ad0bf9b2eba (diff)
Refine rigid group positions and orientations
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index b6a90fbf..8ff8db2f 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -52,6 +52,14 @@ struct rigid_group
char *name;
struct panel **panels;
int n_panels;
+
+ /* Updates to panel position calculated during integration */
+ double d_fsx;
+ double d_ssx;
+ double d_cnx;
+ double d_fsy;
+ double d_ssy;
+ double d_cny;
};
@@ -164,6 +172,9 @@ extern void fill_in_values(struct detector *det, struct hdfile *f);
extern struct detector *copy_geom(const struct detector *in);
+extern void twod_mapping(double fs, double ss, double *px, double *py,
+ struct panel *p);
+
extern int reverse_2d_mapping(double x, double y, double *pfs, double *pss,
struct detector *det);