code: def to_sky(self, wcs, origin=_DEFAULT_WCS_ORIGIN, mode=_DEFAULT_WCS_MODE):
          
          return SkyCoord.from_pixel(
              xp=self.x, yp=self.y, wcs=wcs,
              origin=origin, mode=mode,
          )
docs: Convert this `PixCoord` to `~astropy.coordinates.SkyCoord`.
  
          Calls :meth:`astropy.coordinates.SkyCoord.from_pixel`.
          See parameter description there.