From 00f88dac5a2b63ec1c5f7ad65efef3d4f9d93b77 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Mar 2021 17:01:11 +0200 Subject: 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. --- libcrystfel/src/image-hdf5.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/image-hdf5.h') 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 + * 2020-2021 Thomas White * * 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, -- cgit v1.2.3