interface pixelsToRaDec subroutine pixelsToRaDecScalar(xPixel, yPixel, wcs, ra, dec) real(single), intent(in) :: xPixel,& yPixel type(WcsT), intent(in) :: wcs ! defined in ssclib/wcs_aux real(double), intent(out) :: ra,& dec end subroutine pixelsToRaDecScalar subroutine pixelsToRaDecVector(xPixel, yPixel, wcs, ra, dec) real(single), intent(in) :: xPixel(:),& yPixel(size(xPixel)) type(WcsT), intent(in) :: wcs ! defined in ssclib/wcs_aux real(double), intent(out) :: ra(size(xPixel)),& dec(size(xPixel)) end subroutine pixelsToRaDecVector subroutine pixelsToRaDecArray(xPixel, yPixel, wcs, ra, dec) real(single), intent(in) :: xPixel(:,:),& yPixel(size(xPixel,1),size(xPixel,2)) type(WcsT), intent(in) :: wcs ! defined in ssclib/wcs_aux real(double), intent(out) :: ra(size(xPixel,1),size(xPixel,2)),& dec(size(xPixel,1),size(xPixel,2)) end subroutine pixelsToRaDecArray(xPixel, yPixel, wcs, ra, dec) end interface
The inverse subroutine of raDecToPixels(). This retuns the celestial coordinates (in J2000) in degrees for the given pair of the sky pixel coordinates.