sidpy.hdf.hdf_utils.print_tree

sidpy.hdf.hdf_utils.print_tree(parent, rel_paths=False)[source]

Simple function to recursively print the contents of a hdf5 group

Parameters:
  • parent (h5py.Group) – HDF5 (sub-)tree to print

  • rel_paths (bool, optional. Default = False) – True - prints the relative paths for all elements. False - prints a tree-like structure with only the element names