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


ssclib (ssclib-4.30) [xmmsas_20160201_1833-15.0.0]

rawToInst (rawToDet) Routines for performing coordinate skyToCartesian Home Index

Meta Index / Home Page / Routines for performing coordinate

getThetaPhiMaps

  subroutine getThetaPhiMaps(wcs, scAttitude, timeStamp, thetaMap, phiMap)
    type(WcsT),                   intent(in)  :: wcs
    type(SpacecraftAttitudeType), intent(in)  :: scAttitude
    real(double),                 intent(in)  :: timeStamp
    real(double),                 intent(out) :: thetaMap(:,:),&
                                                 phiMap(size(thetaMap,1)&
                                                      , size(thetaMap,2))
  end subroutine getThetaPhiMaps

This subroutine returns two arrays in the sky image coordinate system defined by the WCS structure $wcs$: one containing the $theta$ and the other the $phi$ value at that pixel; $theta$ and $phi$ being the instrument-mirror-centric TELCOORD-system polar coordinates.



XMM-Newton SOC/SSC -- 2016-02-01