aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-31 14:22:45 +0200
committerThomas White <taw@physics.org>2020-07-31 14:22:45 +0200
commit73236236920006b0b8eeb9ddadfd47c1cddf26a5 (patch)
treeae73a0cd5d4547bb31c1db28c81dd2d1aba6ba25 /libcrystfel/src/image.c
parent98a00c7930744a3c4fe69b0de60a6f9a86cd4f17 (diff)
Set bandwidth in image structure
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 *));