pyNSID.io.hdf_utils.get_all_main

pyNSID.io.hdf_utils.get_all_main(parent, verbose=False)[source]

Simple function to recursively print the contents of an hdf5 group :param parent: HDF5 Group to search within :type parent: h5py.Group :param verbose: If true, extra print statements (usually for debugging) are enabled :type verbose: bool, optional. Default = False

Returns

main_list – The datasets found in the file that meet the ‘Main Data’ criteria.

Return type

list of h5py.Dataset