sidpy.hdf.hdf_utils.h5_group_to_dict

sidpy.hdf.hdf_utils.h5_group_to_dict(group_iter, group_dict={})[source]

Reads a hdf5 group into a nested dictionary

Parameters:
  • group_iter (hdf5.Group) – starting group to read from

  • group_dict (dict) – group dictionary; mostly needed for recursive reading of nested groups but can be used for initialization

Returns:

group_dict

Return type:

dict