aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-02-24 14:05:30 +0100
committerThomas White <taw@physics.org>2012-02-24 14:05:30 +0100
commit4f3cc1d9d9732b413009bafb30941809102492fb (patch)
treef207ead0670692fbcd3d8ee571d128f73c30a30b /libcrystfel/src/hdf5-file.c
parent77aa89c814cc73dca0dd977910c959bdc8ae0e78 (diff)
Remove I0 stuff
Nothing used it, and it can't really be useful for anything. Use 'osf' instead.
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 05cff70c..c212abcb 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -459,15 +459,6 @@ int hdf5_read(struct hdfile *f, struct image *image, int satcorr)
/* Read wavelength from file */
image->lambda = get_wavelength(f);
- image->i0 = get_i0(f);
- if ( image->i0 < 0.0 ) {
- ERROR("Couldn't read incident intensity - using 1.0.\n");
- image->i0 = 1.0;
- image->i0_available = 0;
- } else {
- image->i0_available = 1;
- }
-
if ( satcorr ) debodge_saturation(f, image);
return 0;