sidpy.hdf.reg_ref.get_region

sidpy.hdf.reg_ref.get_region(h5_dset, reg_ref_name)[source]

Gets the region in a dataset specified by a region reference

Parameters:
  • h5_dset (h5py.Dataset) – Dataset containing the region reference

  • reg_ref_name (str / unicode) – Name of the region reference

Returns:

value – Data specified by the region reference. Note that a squeeze is applied by default.

Return type:

np.ndarray