Definition of Quality Flags for SAGE/2MASS

Option: 0 (0=show all flags, x=hexadecimal)

0x00000001 Poor pixels in dark current (SSC pmask)
0x00000002 Flat field questionable (SSC dmask)
0x00000004 2MASS persistence flag
0x00000008 2MASS photometric confusion flag
0x00000010  
0x00000020  
0x00000040 muxbleed correction applied
0x00000080 hot, dead or otherwise unacceptable pixel
0x00000100 2MASS electronicstripe flag
0x00000200 allstar tweak positive
0x00000400 allstar tweak negative
0x00000800  
0x00001000 confusion in in-band merge
0x00002000 confusion in cross-band merge
0X00004000 column pulldown correction
0x00008000 banding correction
0x00010000 stray light
0x00020000  
0x00040000 nonlinear correction not applied
0x00080000 2MASS diffraction spike fl g
0x00100000 pre-lumping in in-band merge
0x00200000 post-lumping in cross-band merge
0x00400000 compute_q2M()
0x00800000 compute_q2M()
0x01000000 compute_q2M()
0x02000000  
0x04000000  
0x08000000  
0x10000000  
0x20000000 edge of frame (within 3 pixels of edge)
0x40000000 truth list (for simulated data)

function compute_q2M(value) {
  var q2M = (value>>22)&7;
  return "2MASS Quality flag = <b>" + "XUFEDCBA".substr(q2M, 1) + "</b>";
}