h5space¶
A utilities to extend h5py’s reading and writing of ranges of data, specifically the ability to quickly deal with multiple ranges.
-
class
pylidar.lidarformats.h5space.
H5Space
(size, boolArray=None, boolStart=None, indices=None)[source]¶ Object that wraps a h5py.h5s.SpaceID object and allows conversion quickly from boolean arrays used elsewhere. Also contains methods for reading and writing to/from h5py datasets.
-
getSelectedIndices
()[source]¶ Return the selected indices, mainly for used my advanced spatial indices. Returns self.indices if set, otherwise works it out form boolArray etc.
-