bilby.core.utils.io.recursively_save_dict_contents_to_group

bilby.core.utils.io.recursively_save_dict_contents_to_group(h5file, path, dic)[source]

Recursively save a dictionary to a HDF5 group

Added in version 1.1.0.

Parameters:
h5file: h5py.File

Open HDF5 file

path: str

Path inside the HDF5 file

dic: dict

The dictionary containing the data