aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index cf7f1331..bfb3d760 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -614,6 +614,8 @@ struct image *image_read(DataTemplate *dtempl,
dtempl->wavelength_from),
dtempl->wavelength_unit);
+ image->bw = dtempl->bandwidth;
+
create_detgeom(image, dtempl);
image->bad = malloc(dtempl->n_panels * sizeof(int *));