Reading Photon-HDF5#
Example files can be found here
Download the file (might take a bit):
import requests
import pathlib
if not pathlib.Path('test_photon_file.hdf5').exists():
r = requests.get('https://figshare.com/ndownloader/files/2182602')
with open('test_photon_file.hdf5', 'wb') as f:
f.write(r.content)
import h5rdmtoolbox as h5tbx
h5tbx.dump('test_photon_file.hdf5', collapsed=False)