diff options
author | Thomas White <taw@physics.org> | 2021-03-30 17:01:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-30 17:01:11 +0200 |
commit | 00f88dac5a2b63ec1c5f7ad65efef3d4f9d93b77 (patch) | |
tree | fc8a5f77c1b88f526cbdd7efb53b09183cc5ca14 /libcrystfel/src/image-hdf5.h | |
parent | ab2158fb3f8053c6277113b4fb22007859f53de8 (diff) |
Add header caching layer
This simultaneously implements --copy-header/--copy-hdf5-field and gives
access to metadata (e.g. detector position or wavelength) when loading
from a stream with header-specified values.
Diffstat (limited to 'libcrystfel/src/image-hdf5.h')
-rw-r--r-- | libcrystfel/src/image-hdf5.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/image-hdf5.h b/libcrystfel/src/image-hdf5.h index efb8a3b7..96b21558 100644 --- a/libcrystfel/src/image-hdf5.h +++ b/libcrystfel/src/image-hdf5.h @@ -7,7 +7,7 @@ * a research centre of the Helmholtz Association. * * Authors: - * 2020 Thomas White <taw@physics.org> + * 2020-2021 Thomas White <taw@physics.org> * * This file is part of CrystFEL. * @@ -36,7 +36,8 @@ extern double image_hdf5_get_value(const char *from, const char *filename, - const char *ev); + const char *ev, + char *type); extern int image_hdf5_read(struct image *image, const DataTemplate *dtempl, |