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


rgsevents (rgsevents-3.13) [xmmsas_20230412_1735-21.0.0]


Algorithm

In this section an asterix marks items that do not apply to HTR mode data.

Initialize the bad pixel map:

   mark ON_WINDOW_BORDER along the window edges:
      top* and bottom*, outer sides, and inner sides if not abutting
   mark ON_NODE_INTERFACE along window inner sides if abutting
   for each bad pixel region:
      mark ON_BADPIX along the region itself
      mark NEXT_TO_BADPIX on all directly adjacent pixels:
         above* and below*, and along both sides

Perform event reconstruction:

   for each frame:
      initialize map of pixels not below the rejection threshold
      for each pixel still on the map:
         initialize new event
         move pixel from map to stack
         until stack is empty, taking the top pixel:
            add pixel to event
            move all adjacent pixels from map to stack

Or, if event reconstruction is disabled:

   for each frame:
      for each pixel not below the rejection threshold:
         construct a new event

Update the dataset:

   set the event cross-reference to null for all pixels
   for each event:
      cross-reference the event with each of its pixels
      compute and store event properties
      add additional rejectable pixels to the REJPIX tables



XMM-Newton SOC -- 2023-04-16