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/timecube.py/TimeCube16.trim