aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-27 16:40:43 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitab352f28b1c9d2691e4f39730b0ad5adf056426b (patch)
treecc00ecb99d79e218c9b41d89765cc90b44963a7e /libcrystfel/src/integration.c
parent17fc522b88a8eb425ff094077f8c9d5463647993 (diff)
Convert make_BgMask to detgeom
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 681aef02..85d7cd94 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1688,7 +1688,8 @@ void integrate_all_5(struct image *image, IntegrationMethod meth,
}
for ( i=0; i<image->det->n_panels; i++ ) {
- masks[i] = make_BgMask(image, &image->det->panels[i], ir_inn);
+ masks[i] = make_BgMask(image, &image->detgeom->panels[i],
+ i, ir_inn);
}
for ( i=0; i<image->n_crystals; i++ ) {