def METHOD_NAME(self, idxs, coords='data'):
    if coords == 'fits':
        # Via astWCS.NUMPY_MODE, we've forced pixels referenced from 0
        idxs = tuple(map(lambda x: x - 1, idxs))
    try:
        ra_deg, dec_deg = self.wcs.pix2wcs(idxs[0], idxs[1])
    except Exception as e:
        self.logger.error("Error calculating pixtoradec: %s" % (str(e)))
        raise common.WCSError(e)
    return ra_deg, dec_deg