XClose

UCL Department of Space and Climate Physics

Home
Menu

SWIFT Quality Flag Statistics

Any quality issue at the position of a source is assigned to the source as a flag and listed in the final columns of the SOURCES table. Each flag is a binary number whose bits correspond to the presence of an image artefact (see Table 1) . A table of statistics is given below

Bit numberReasonInteger Value
 0Cosmetic defects (BAD PIXELS) within the source region 1
 1Source on a READOUT STREAK 2
 2Source on a “SMOKE RING” 4
 3Source on a DIFFRACTION SPIKE 8
 4Source affected by MOD-8 noise pattern 16
 5Source within a “HALO RING” 32
 6Source near to a BRIGHT source 64
 7MULTIPLE EXPOSURE values within photometry aperture 128
 8Source within an EXTENDED FEATURE 256

Table 1: Quality flag values for the UVOTSSC source catalogue. 

An example image is shown below with detected sources identified: green for sources with no quality flag set, red for sources with a quality flag set. The number indicates the flag. Table 1 gives the meanings of the flags. Multiple flags are summed to give the final quality flag value.

e.g. If source contains one or more bad pixels (value 1) and lies on a read-out streak (value 2), the final quality flag value will be 3.

Note that since the sources are detected on summed images, (after stacking the raw images in an ObsID), it is possible to have a flag assigned to the source that is not relevant to all of the images in the stack.

For the numbers of flags set, please see Table 2. For more examples see Quality Flagging in the Processing section.

 the red circles identify the sources with a quality flag

Figure 1: Sources in a B filter image: the red circles identify the sources with a quality flag. The identity of the flag (or flags) is given by a number, which may be a sum of several flags.

 
 VBUUVW1UVM2UVW2
no flags set84.886.388.2 90.085.088.4
0000000
17.53.44.03.03.72.4
20.91.80.40.50.80.4
31.80.40.60.080.030.02
41.01.80.90.30.050.08
50.20.070.20.30.10.2
62.34.72.40.81.40.8
73.53.13.23.67.14.2
80.71.01.72.93.74.6

Table 2 gives the statistics (in percentages) of sources bearing flags in the UVOTSSC source catalogue. Note that the columns do not add up to 100% because some sources have more than one flag set.