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


ssclib (ssclib-4.33) [xmmsas_20190531_1155-18.0.0]

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:


\begin{displaymath}
tanX = \tan(theta) \cos(phi)
tanY = \tan(theta) \sin(phi)
\end{displaymath}



XMM-Newton SOC/SSC -- 2019-06-02