aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/crystal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/crystal.c')
-rw-r--r--libcrystfel/src/crystal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/crystal.c b/libcrystfel/src/crystal.c
index ee02e1af..f6e881de 100644
--- a/libcrystfel/src/crystal.c
+++ b/libcrystfel/src/crystal.c
@@ -191,6 +191,12 @@ struct image *crystal_get_image(Crystal *cryst)
}
+const struct image *crystal_get_image_const(const Crystal *cryst)
+{
+ return cryst->image;
+}
+
+
double crystal_get_osf(Crystal *cryst)
{
return cryst->osf;