From b62b7f7356f529ab904dabefb4618afc8f2211ec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 1 Apr 2016 15:30:57 +0200 Subject: Add adu_per_photon (distinct from adu_per_eV) --- libcrystfel/src/hdf5-file.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcrystfel/src/hdf5-file.c') 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); -- cgit v1.2.3