aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-04-01 15:30:57 +0200
committerThomas White <taw@physics.org>2016-04-01 15:30:57 +0200
commitb62b7f7356f529ab904dabefb4618afc8f2211ec (patch)
tree9ee95d5a86c0379c8d611789fea47c717510b803 /libcrystfel/src/hdf5-file.c
parent5ecd23cddcbb1b4eda422bf8351ea18c6997b7ce (diff)
Add adu_per_photon (distinct from adu_per_eV)
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 023b0f7d..ee352f03 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -1482,6 +1482,8 @@ int hdf5_read(struct hdfile *f, struct image *image, const char *element,
}
+ fill_in_adu(image);
+
return 0;
}
@@ -1915,6 +1917,8 @@ int hdf5_read2(struct hdfile *f, struct image *image, struct event *ev,
}
+ fill_in_adu(image);
+
free(buf);
free(flags);
free(smap);