craftutils.observation.epoch.ImagingEpoch.frame_class.pixel_to_world(x: float | ndarray | Quantity, y: float | ndarray | Quantity, origin: int = 0, ext: int = 0) SkyCoord

Uses the image’s wcs to turn pixel coordinates into sky; essentially a wrapper for SkyCoord.from_pixel(). :param x: Pixel x-coordinate. Can be provided as an astropy Quantity with units pix, or as a raw number. :param y: Pixel y-coordinate. Can be provided as an astropy Quantity with units pix, or as a raw number. :param origin: Do you want pixel indexing that starts at 1 (FITS convention) or 0 (numpy convention)? :return coord: SkyCoord reflecting the sky coordinates.