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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]

cartesianToSky

  subroutine cartesianToSky(vector, ra, dec)
    real(double), intent(in)  :: vector(3) 
    real(double), intent(out) :: ra, dec
  end subroutine cartesianToSky

Takes a vector of direction cosines and returns the corresponding celestial coordinates $ra$ and $dec$. NOTE $ra$ and $dec$ are in radians.



XMM-Newton SOC -- 2023-04-16