def putTimeCube(self, ch, zidx, timestamp, resolution, cube, update=False):

    if cube.isNotZeros():
      # Handle the cube format here.  
      if self.NPZ:
        self.kvio.putTimeCube(ch, zidx, timestamp, resolution, cube.toNPZ(), update)
      else:
        self.kvio.putTimeCube(ch, zidx, timestamp, resolution, cube.toBlosc(), update)
Store a cube in the annotation database
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.putTimeCube