From 4f17116d29759077a02d80fd410965f848ffc05f Mon Sep 17 00:00:00 2001 From: Valerio Mariani Date: Fri, 7 Oct 2016 15:46:29 +0200 Subject: Added detector shift to crystal structure, wrote get and get functions --- libcrystfel/src/crystal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src/crystal.h') 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 -- cgit v1.2.3