def putCube(self, ch, zidx, resolution, cube, update=False):
    
    # Handle the cube format here.  
    if self.NPZ:
      self.kvio.putCube(ch, zidx, resolution, cube.toNPZ(), not cube.fromZeros())
    else:
      self.kvio.putCube(ch, zidx, resolution, cube.toBlosc(), not cube.fromZeros())
  
  
  # GET AND PUT methods for Timeseries Database
Store a cube in the annotation database
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.putCube