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


omqualitymap (omqualitymap-1.3) [xmmsas_20141104_1833-14.0.0]

Algorithm Algorithm Setting of bit 1 Home Index

Meta Index / Home Page / Algorithm

Setting quality-image pixels (Program mode 1)

When the parameter mode is set to setqualityimage) or SETQUALITYIMAGE, the program works as follows:

  1. Load the image from the Primary fits file extension in the input image file (parameter imageset).
  2. Load the 16-bit 2-d quality-array from the QUALITY fits file extension in the input image file.
  3. Load the x and y image coordinates (XPOS and YPOS columns), the raw-count rates (RATE column) and the source quality-flags (QFLAG column) from the input source-list file (parameter srclistset).

  4. Set bit number 5 of all the pixels in the quality-image that lie within the central-enhancement region (see section 8.6).

  5. Set bit number 7 of all the pixels in the quality-image that lie close to an image edge or corner of the OM detector (see section 8.7).

  6. Loop through the list of sources and for any one that has a raw count-rate of at least 60 counts/sec

  7. Create the output file (parameter outset that will store the modified image (the output file can have the same name as the input file).


Algorithm Algorithm Setting of bit 1 Home Index

XMM-Newton SOC/SSC -- 2014-11-04