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

emtaglenoise (emtaglenoise-1.3) [xmmsas_20230412_1735-21.0.0]


  1. Open the input DataSet, determine if it comes from MOS1 or MOS2, check input errors, initalise counters, and etc.
  2. Read the EVENTS table extension.
  3. Check if each event:
    1. lies outside the field of view (as defined in Kuntz and Snowden, 2008 [1], Table 3), and
    2. falls within:
      1. the 2.5– 5.0 keV `hard' band,
      2. the 0.4– 0.8 keV `soft' band, and/or
      3. the 0.3–10.0 keV count-rate band.
  4. For each event that satisfies the conditions above, increment by one the corresponding event counter(s) for the corresponding CCD.
  5. For each CCD nn,
    1. Read the STDGTInn table extension.
    2. Calculate the sum of all GTIs.
    3. Calculate the hardness ratio $H$ as the ratio of the hard- to soft-band event counts.
    4. Calculate the event rate $R$ from the event-rate band counter and the GTI sum.
    5. Test if the values of $H$ and $R$ meet the anomalous criteria as stated in Kuntz and Snowden, 2008 [1], Table 1.
    6. If the CCD is in an anomalous state, set the corresponding bit of the anomalous bit flag.
  6. Write the keywords LENOISnn, nn=02–07, to the header of the input DataSet.
  7. If parameter filterbadccds is set, call evselect to filter the input Dataset and write the output to the file specified by filteredset.

XMM-Newton SOC -- 2023-04-16