read_hdf5

psipy.io.util.read_hdf5(path, dataset_name='Data')

Read a HDF5 file.

Reads a single dataset from a single HDF5 file, returning the scalar data and associated coordinates.

Parameters
path

Path to the file.

dataset_namestr, optional

ID of the dataset to get.

Returns
datandarray

Scalar data.

coordslist of ndarray

Cooordinates values along each axis of the data.