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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.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:

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



XMM-Newton SOC -- 2023-04-16