bilby.core.utils.io.decode_from_hdf5

bilby.core.utils.io.decode_from_hdf5(item)[source]

Decode an item from HDF5 format to python type.

This currently just converts __none__ to None and some arrays to lists

Added in version 1.0.0.

Parameters:
item: object

Item to be decoded

Returns:
output: object

Converted input item