\cgidef{ -tex
\flag #2{#1 & #2 \\}
\tdr #1{\html{
}#1}
{flags} #3{\subsection*{Definition of Quality Flags for GLIMPSE}
Option: {\bf #2} ({\bf 0}=show all flags, {\bf x}=hexadecimal)\par
\begin{tabular}{|rp|}}{\end{tabular}}
}
%%% Cat. II/293 (GLIMPSE) flags
%%% (this version also edits the decimal value)
%%% {#1} name of this table of flags (MUST BE THE FILENAME without extension)
%%% {#2} x=display in Hexa; 0=display all flags (including those which are zero)
%%% {#3}{width=640,height=500,toolbar=no,scrollbars=yes,resizable=yes}
%{CDFS flags (combines Sextractor and COMBO-17)}{0}{}
\begin{flags}{qflags}{x0}{width=640,height=840,toolbar=no,scrollbars=yes,resizable=yes}
\flag{0x00000001}{ Poor pixels in dark current {\em(SSC pmask)}\tdr{1}}
\flag{0x00000002}{ Flat field questionable {\em(SSC dmask)}\tdr{2}}
\flag{0x00000004}{ Latent image {\em(SSC dmask)}, or persistence {\em(2MASS)}\tdr{4}}
\flag{0x00000008}{ photometric confusion {\em(2MASS)}\tdr{8}}
\flag{0x00000010}{}
\flag{0x00000020}{}
\flag{0x00000040}{ muxbleed correction applied {\em(GLIMPSE)}\tdr{64}}
\flag{0x00000080}{ hot, dead or otherwise unacceptable pixel {\em(SSC pmask, dmask, GLIMPSE)}\tdr{128}}
\flag{0x00000100}{ muxbleed correction applied is >3\sigma\ above background {\em(GLIMPSE)}, or electronic stripe(s) {\em(2MASS)}\tdr{256}}
\flag{0x00000200}{ DAOPHOT tweak positive {\em(GLIMPSE)}\tdr{512}}
\flag{0x00000400}{ DAOPHOT tweak negative {\em(GLIMPSE)}\tdr{1024}}
\flag{0x00000800}{}
\flag{0x00001000}{ confusion in in-band merge {\em(GLIMPSE)}\tdr{4096}}
\flag{0x00002000}{ confusion in cross-band merge {\em(both GLIMPSE and 2MASS)}\tdr{8192}}
\flag{0x00004000}{ column pulldown corrected {\em(GLIMPSE)}\tdr{16384}}
\flag{0x00008000}{ banding corrected {\em(GLIMPSE)}\tdr{32768}}
\flag{0x00010000}{ stray light {\em(GLIMPSE)}\tdr{65536}}
\flag{0x00020000}{}
\flag{0x00040000}{ data predicted to saturate {\em(GLIMPSE)}\tdr{262144}}
\flag{0x00080000}{ saturated star wing region {\em(GLIMPSE)}, or diffraction spike {\em(2MASS)}\tdr{524288}}
\flag{0x00100000}{ pre-lumping in in-band merge {\em(GLIMPSE)}\tdr{1048576}}
\flag{0x00200000}{ post-lumping in in-band merge {\em(GLIMPSE)}\tdr{2097152}}
\flag{0x00400000}{ compute_q2M() } % Use function defined below
\flag{0x00800000}{ compute_q2M() } % Use function defined below
\flag{0x01000000}{ compute_q2M() } % Use function defined below
\flag{0x02000000}{}
\flag{0x04000000}{}
\flag{0x08000000}{}
\flag{0x10000000}{}
\flag{0x20000000}{ within three pixels of edge of frame {\em(GLIMPSE)}\tdr{536870912}}
\flag{0x40000000}{}
\flag{0x80000000}{ flux estimated for Archive entry only (Catalog entry has no flux){\em(CDS)}\tdr{2147483648}}
\end{flags}
%%%% Function to edit the 2MASS Quality Flag
\begin{verbatim}
function compute_q2M(value) {
var q2M = (value>>22)&7;
return "2MASS Quality flag = " + "ABCDEFG ".substr(7-q2M, 1) + " | ";
}
\end{verbatim}
|