def annoCutout ( self, ch, annoids, resolution, corner, dim, remapid=None ):

    # cutout is zoom aware
    cube = self.cutout(ch, corner,dim,resolution, annoids=annoids )
  
    # KL TODO
    if remapid:
      vec_func = np.vectorize ( lambda x: np.uint32(remapid) if x != 0 else np.uint32(0) ) 
      cube.data = vec_func ( cube.data )

    return cube

  # helper function to apply exceptions
Raises a TwitterError if twitter returns an error message.
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.annoCutout--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api._CheckForTwitterError