sidpy.hdf.reg_refΒΆ

Created on Tue Nov 3 21:14:25 2015

@author: Chris Smith, Suhas Somnath

Functions

attempt_reg_ref_build

Attempts to build region references

clean_reg_ref

Makes sure that the provided instructions for a region reference are indeed valid.

copy_all_region_refs

Copies only region references from the source dataset to the target dataset

copy_reg_ref_reduced_dim

Copies a region reference from one dataset to another taking into account that a dimension has been lost from source to target

create_region_reference

Create a region reference in the destination dataset using an iterable of pairs of indices representing the start and end points of a hyperslab block

get_indices_for_region_ref

Given an hdf5 region reference and the dataset it refers to, return an array of indices within that dataset that correspond to the reference.

get_region

Gets the region in a dataset specified by a region reference

simple_region_ref_copy

Copies a region reference from one dataset to another without alteration

write_region_references

Creates attributes of a h5py.Dataset that refer to regions in the dataset