pyUSID.io.hdf_utils.simple.validate_anc_dset_attrs

pyUSID.io.hdf_utils.simple.validate_anc_dset_attrs(h5_inds, h5_vals, is_spec=True)[source]

Validates the attributes of a pair of indices and values datasets. Throws ValueErrors if any rule is not satisfied

Parameters:
  • h5_inds (h5py.Dataset) – Indices dataset

  • h5_vals (h5py.Dataset) – Values Dataset

  • is_spec (bool, optional. Default = True) – Set to True if spectroscopic. Else - Position datasets