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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]

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 -- 2023-04-16