def zoomVoxels ( self, voxels, resgap ):

    # correct for zoomed resolution
    newvoxels = []
    scaling = 2**(resgap)
    for vox in voxels:
      for numy in range(scaling):
        for numx in range(scaling):
          newvoxels.append ( (vox[0]*scaling + numx, vox[1]*scaling + numy, vox[2]) )
    return newvoxels


  #
  # getLocations -- return the list of locations associated with an identifier
  #
Convert voxels from one resolution to another based 
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.zoomVoxels