XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


ssclib (ssclib-4.36.3) [22.0.0-9173c7d25-20250127]

polarsToRaDec

  interface polarsToRaDec
    subroutine polarsToRaDecVector(refRaDeg, refDecDeg, theta, phi, raDeg&
      , decDeg)

      real(double), intent(in)  :: refRaDeg,&
                                   refDecDeg,&
                                   theta(:),&
                                   phi(size(theta))
      real(double), intent(out) :: raDeg(size(theta)),&
                                   decDeg(size(theta))

    end subroutine polarsToRaDecVector
  end interface

! tanToRaDecScalar, tanToRaDecArray not yet done

The same as tanToRaDec (section [*]), except the coordinates on the tangent plane are now given in polar coordinates $theta$ and $phi$ instead of cartesian $tanX$ and $tanY$. The relationship between the two sets is as follows:


$\displaystyle tanX = \tan(theta) \cos(phi)
tanY = \tan(theta) \sin(phi)
$



XMM-Newton SOC -- 2025-01-27