aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-08-10 11:00:21 +0200
committerThomas White <taw@physics.org>2012-08-10 11:00:53 +0200
commit1d8b09d5e984e658ae1c679a8ba2e3cc1e6ac5e3 (patch)
treef3e7e265efc26bd00b83b3b095f0ecc1c2cf783d /libcrystfel/src
parent0a5e4738b9799082439286853602b485c4debe76 (diff)
Set max_adu in simple_geometry()
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 5f138eac..9cea9a6d 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -1059,6 +1059,7 @@ struct detector *simple_geometry(const struct image *image)
geom->panels[0].cnx = -image->width / 2.0;
geom->panels[0].cny = -image->height / 2.0;
geom->panels[0].rigid_group = NULL;
+ geom->panels[0].max_adu = INFINITY;
geom->panels[0].fsx = 1;
geom->panels[0].fsy = 0;