read_metadata#

ctapipe.io.metadata.read_metadata(h5file, path='/')[source]#

Read metadata from an hdf5 file

Parameters:
h5filename: string, Path, or `tables.file.File`

hdf5 file

path: string

default: ‘/’ is the path to ctapipe global metadata

Returns:
metadata: dictionary