pyUSID.io.hdf_utils.simple.copy_main_attributes

pyUSID.io.hdf_utils.simple.copy_main_attributes(h5_main, h5_new)[source]

Copies the units and quantity name from one dataset to another

Parameters:
  • h5_main (h5py.Dataset) – Dataset containing the target attributes

  • h5_new (h5py.Dataset) – Dataset to which the target attributes are to be copied