def download_point(self, pt, size=256, mip=None):
    """
    Download to the right of point given in mip 0 coords.
    Useful for quickly visualizing a neuroglancer coordinate
    at an arbitary mip level.

    pt: (x,y,z)
    size: int or (sx,sy,sz)

    Return: image
    """
    if isinstance(size, int):
      size = Vec(size, size, size)
    else:
      size = Vec(*size)

    if mip is None:
      mip = self.mip

    size2 = size // 2

    pt = self.point_to_mip(pt, mip=0, to_mip=mip)
    bbox = Bbox(pt - size2, pt + size2)
    
    saved_mip = self.mip 
    self.mip = mip 
    img = self[bbox]
    self.mip = saved_mip
    return img
def download_point ( self , pt , size = 256 , mip = None ) : if isinstance ( size , int ) : size = Vec ( size , size , size ) else : size = Vec ( * size ) if mip is None : mip = self . mip size2 = size // 2 pt = self . point_to_mip ( pt , mip = 0 , to_mip = mip ) bbox = Bbox ( pt - size2 , pt + size2 ) saved_mip = self . mip self . mip = mip img = self [ bbox ] self . mip = saved_mip return img
Download to the right of point given in mip 0 coords.
    Useful for quickly visualizing a neuroglancer coordinate
    at an arbitary mip level.

    pt: (x,y,z)
    size: int or (sx,sy,sz)

    Return: image