omqualitymap (omqualitymap-1.5) [xmmsas_20211130_0941-20.0.0]

The algorithm works as follows

- Loop through each column of the image and for each column number i
- Loop through each row of the image and for each row number j
- Examine the 8 (less if near an edge) neighbouring image pixels around the pixel i, j and count how many have a value at least 1/20th of the central pixel.
- If the number is less than 2 then assume the pixel i, j is abnormal- set bit 9 of the quality pixels within a box of width and height 41 unbinned pixels.

XMM-Newton SOC -- 2021-11-30