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


ombackground (ombackground-0.7.5) [xmmsas_20230412_1735-21.0.0]


Algorithm

1)   Create a list of all the useable (ie non-null) pixels in the image.
     Loop through the differeent background methods and compute the background value (ie
     counts per pixel). Draw Graph 1.


2)   Place square apertures on the image, trying to avoid sources, and for each one
     use the pixels within it to compute a background using all the differenet methods.
     Draw a histogram of these values (Graph 2). Compute the value of the 
     background-subtracted counts per pixel by summing the pixel counts in each aperture 
     and subtracting the computed background value times
     the number of pixels within it from it. Draw a histogram of these values (Graph 3).

3)   Repeat stage 2 without trying to avoid source regions, to produce graphs 4 and 5.
   

4)   If required, compute a background image and store it in the file specified by the
     parameter backgroundset. The background image is produced by placing a
     box of width specified by the input parameter “boxwidth” on each pixel and using
     the pixels within it to compute a value for the mean background.



XMM-Newton SOC -- 2023-04-16