sidpy.hdf.reg_ref.simple_region_ref_copy¶
- sidpy.hdf.reg_ref.simple_region_ref_copy(h5_source, h5_target, key)[source]¶
Copies a region reference from one dataset to another without alteration
- Parameters:
h5_source (HDF5 Dataset) – source dataset for region reference copy
h5_target (HDF5 Dataset) – target dataset for region reference copy
key (String) – Name of attribute in h5_source that contains the Region Reference to copy
- Returns:
ref_inds – Array containing pairs of points that define the corners of each hyperslab in the region reference
- Return type:
Nx2x2 array of unsigned integers