aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/crystal.h
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2016-10-07 15:46:29 +0200
committerThomas White <taw@physics.org>2016-10-10 15:21:56 +0200
commit4f17116d29759077a02d80fd410965f848ffc05f (patch)
treeba4243f7c2a8ec91cd0350841fc882accb61b4ef /libcrystfel/src/crystal.h
parent34198e6f92f19dfeb0ee13c0fcc60c82b05f85e3 (diff)
Added detector shift to crystal structure, wrote get and get functions
Diffstat (limited to 'libcrystfel/src/crystal.h')
-rw-r--r--libcrystfel/src/crystal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/crystal.h b/libcrystfel/src/crystal.h
index f0d732ff..cf9582d7 100644
--- a/libcrystfel/src/crystal.h
+++ b/libcrystfel/src/crystal.h
@@ -66,6 +66,8 @@ extern double crystal_get_Bfac(Crystal *cryst);
extern struct image *crystal_get_image(Crystal *cryst);
extern double crystal_get_mosaicity(Crystal *cryst);
extern const char *crystal_get_notes(Crystal *cryst);
+extern void crystal_get_det_shift(Crystal *cryst, double *shift_x,
+ double* shift_y);
extern void crystal_set_cell(Crystal *cryst, UnitCell *cell);
extern void crystal_set_profile_radius(Crystal *cryst, double r);
@@ -81,7 +83,8 @@ extern void crystal_set_Bfac(Crystal *cryst, double B);
extern void crystal_set_image(Crystal *cryst, struct image *image);
extern void crystal_set_mosaicity(Crystal *cryst, double m);
extern void crystal_set_notes(Crystal *cryst, const char *notes);
-
+extern void crystal_set_det_shift(Crystal *cryst, double shift_x,
+ double shift_y);
extern void crystal_add_notes(Crystal *cryst, const char *notes_add);
#ifdef __cplusplus