code: def pixel_to_icrs_coords(x, y, wcs):
      
  
      icrs_coords = pixel_to_skycoord(x, y, wcs).icrs
      icrs_ra = icrs_coords.ra.degree * u.deg
      icrs_dec = icrs_coords.dec.degree * u.deg
  
      return icrs_ra, icrs_dec
docs: Convert pixel coordinates to ICRS Right Ascension and Declination.
  
      This is merely a convenience function to extract RA and Dec. from a
      `~astropy.coordinates.SkyCoord` instance so they can be put in
      separate columns in a `~astropy.table.Table`.
  
      Parameters
      ----------
      x : float or array-like
          The x pixel coordinate.
  
      y : float or array-like
          The y pixel coordinate.
  
      wcs : `~astropy.wcs.WCS`
          The WCS transformation to use to convert from pixel coordinates
          to ICRS world coordinates.
          `~astropy.table.Table`.
  
      Returns
      -------
      ra : `~astropy.units.Quantity`
          The ICRS Right Ascension in degrees.
  
      dec : `~astropy.units.Quantity`
          The ICRS Declination in degrees.