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


ssclib (ssclib-4.30) [xmmsas_20160201_1833-15.0.0]

skyToCartesian Routines for performing coordinate telCoordToDetXY Home Index

Meta Index / Home Page / Routines for performing coordinate

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/SSC -- 2016-02-01