nxxrdct.utils#

General utility helpers.

Functions

get_data(file_path, data_path)

Read data from the HDF5 dataset or return None when missing.

get_quantity(file_path, data_path, default_unit)

Return the value and unit of an HDF5 dataset.

h5py_read_dataset(dset[, index, decode_ascii])

Read data from dataset object.

hdf5_open(filename)

Open a file as an h5py-like object.