sidpy.hdf.prov_utils.get_source_dataset

sidpy.hdf.prov_utils.get_source_dataset(h5_group)[source]

Find the name of the source dataset used to create the input h5_group, so long as the source dataset is in the same HDF5 file :param h5_group: Child group whose source dataset will be returned :type h5_group: h5py.Group

Returns:

h5_source – Main dataset from which this group was generated

Return type:

NSIDataset object