def get_xy_slice(self, token, channel,<EOL>x_start, x_stop,<EOL>y_start, y_stop,<EOL>z_index,<EOL>resolution=<NUM_LIT:0>):
vol = self.get_cutout(token, channel, x_start, x_stop, y_start,<EOL>y_stop, z_index, z_index + <NUM_LIT:1>, resolution)<EOL>vol = numpy.squeeze(vol)  <EOL>return vol<EOL>
Return a binary-encoded, decompressed 2d image. You should
specify a 'token' and 'channel' pair.  For image data, users
should use the channel 'image.'

Arguments:
    token (str): Token to identify data to download
    channel (str): Channel
    resolution (int): Resolution level
    Q_start (int):` The lower bound of dimension 'Q'
    Q_stop (int): The upper bound of dimension 'Q'
    z_index (int): The z-slice to image

Returns:
    str: binary image data