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.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);