diff options
author | Thomas White <taw@physics.org> | 2015-12-18 15:40:33 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-12-18 15:40:33 +0100 |
commit | 120fca2d9a7abd79e41ef5051bd22efedcb2d493 (patch) | |
tree | c39c1f530c2b0a7d8f0b3113e78a396028421c7e /libcrystfel | |
parent | 693aae4d2219632d15174fe4c4f9d0526d6166c4 (diff) |
Saturation map fixes
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/hdf5-file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c index 09a34c31..a9518add 100644 --- a/libcrystfel/src/hdf5-file.c +++ b/libcrystfel/src/hdf5-file.c @@ -1171,6 +1171,8 @@ static int unpack_panels(struct image *image, struct detector *det, if ( sat != NULL ) { image->sat[pi][fs+p->w*ss] = sat[idx]; + } else { + image->sat[pi][fs+p->w*ss] = INFINITY; } if ( p->no_index ) bad = 1; |