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


rgsevconvert (rgsevconvert-1.3) [xmmsas_20211130_0941-20.0.0]


Algorithm

========== convert the EVENTS table ==========

IF ( exists attribute PI_REF )
  add WCS attributes to the PI column:
    TCRPX = 0
    TCRVL = PI_REF
    TCDLT = PI_WID
  delete attributes PI_REF and PI_WID

IF ( exists attribute BETA_REF )
  add WCS attributes to the BETA_CHANNEL column:
    TCRPX = 0
    TCRVL = BETA_REF
    TCDLT = BETA_WID
  delete attributes BETA_REF and BETA_WID

IF ( exists attribute XDSP_REF )
  add WCS attributes to the XDSP_CHANNEL column:
    TCRPX = 0
    TCRVL = XDSP_REF
    TCDLT = XDSP_WID
  delete attributes XDSP_REF and XDSP_WID

========== convert the EXPMn_0c images ==========

FOR EACH ccd
  FOR EACH node
    IF ( exists block EXPM<node>_0<ccd> )
      rename block to EXPMAP<node><ccd>
      add WCS attributes:
        CRPIX1 = 1
        CRVAL1 = BETA_REF
        CDELT1 = BETA_WID
        CRPIX2 = 1
        CRVAL2 = XDSP_REF
        CDELT2 = XDSP_WID
      delete attributes BETA_REF, BETA_WID, XDSP_REF, XDSP_WID



XMM-Newton SOC -- 2021-11-30