def trim ( self, xoffset, xsize, yoffset, ysize, zoffset, zsize ):
    self.data = self.data [ zoffset:zoffset+zsize, yoffset:yoffset+ysize, xoffset:xoffset+xsize ]
Trim off the excess data
dataset/ETHPy150Open neurodata/ndstore/ocpca/cube.py/Cube.trim