fflags0width=640,height=400,toolbar=no,scrollbars=yes,resizable=yes
0 & Initial value; resets all bits
1 & Used within relphot (SECF_STAR_FEW): skip star
2 & Used within relphot (SECF_STAR_POOR): skip star
4 & Synthetic photometry used in average measurement
8 & Ubercal photometry used in average measurement
16 & PS1 photometry used in average measurement
32 & PS1 stack photometry exists
64 & Tycho photometry used for synthetic magnitudes
128 & Synthetic magnitudes repaired with zeropoint map
256 & Average magnitude calculated in 0th pass
512 & Average magnitude calculated in 1th pass
1024 & Average magnitude calculated in 2th pass
2048 & Average magnitude calculated in 3th pass
4096 & Average magnitude calculated in 4th pass
8192 & Extended in this band (PSPS only)
16384 & PS1 stack photometry comes from primary skycell
32768 & PS1 stack best measurement is a detection (not forced)
65536 & PS1 stack primary measurement is a detection (not forced)
131072 &
262144 &
524288 &
1048576 & This photcode has SDSS photometry
2097152 & This photcode has HSC photometry
4194304 & This photcode has CFH photometry (mostly megacam)
8388608 & This photcode has DES photometry
16777216 & Extended in this band