IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38824


Ignore:
Timestamp:
Oct 8, 2015, 3:25:11 PM (11 years ago)
Author:
watersc1
Message:

Updated all flag tables with hexadecimal representations. Split DetectionFlags into three tables of int-sized values. Updated all flag tables with current up-to-date versions, and added comments on where those up-to-date versions live for future reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/config/tables.IN.vot

    r38821 r38824  
    549549    <TABLE name="ImageFlags">
    550550      <DESCRIPTION>Contains information flag values for images.</DESCRIPTION>
     551      <!-- branches/eam_branches/ipp-20150625/Ohana/src/libdvo/include/dvo.h / DVOImageFlags -->
    551552      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
    552553      <FIELD name="name" arraysize="100" datatype="char">
    553554        <DESCRIPTION>Name of flag.</DESCRIPTION>
    554555      </FIELD>
    555       <FIELD name="value" arraysize="1" datatype="long">
    556         <DESCRIPTION>Flag value.</DESCRIPTION>
     556      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     557        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     558      </FIELD>
     559      <FIELD name="value" arraysize="1" datatype="int">
     560        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
    557561      </FIELD>
    558562      <FIELD name="description" arraysize="100" datatype="char">
     
    561565      <DATA>
    562566        <TABLEDATA>
    563           <TR><TD>NEW</TD><TD>0</TD><TD>no relphot / relastro attempted</TD></TR>
    564           <TR><TD>NOCAL</TD><TD>1</TD><TD>used within relphot to mean 'don't apply fit'</TD></TR>
    565           <TR><TD>POOR</TD><TD>2</TD><TD>relphot says image is bad</TD></TR>
    566           <TR><TD>SKIP</TD><TD>4</TD><TD>external information image is bad</TD></TR>
    567           <TR><TD>FEW</TD><TD>8</TD><TD>currently too few measurements for good value</TD></TR>
    568         </TABLEDATA>
    569       </DATA>
    570     </TABLE>
     567          <TR><TD>NEW</TD>  <TD>0x00000000</TD><TD>0</TD><TD>No relphot / relastro attempted.</TD></TR>
     568          <TR><TD>NOCAL</TD><TD>0x00000001</TD><TD>1</TD><TD>Used within relphot to mean 'don't apply fit'.</TD></TR>
     569          <TR><TD>POOR</TD> <TD>0x00000002</TD><TD>2</TD><TD>Relphot says image is bad.</TD></TR>
     570          <TR><TD>SKIP</TD> <TD>0x00000004</TD><TD>4</TD><TD>External information image is bad.</TD></TR>
     571          <TR><TD>FEW</TD>  <TD>0x00000008</TD><TD>8</TD><TD>Currently too few measurements for good value.</TD></TR>
     572        </TABLEDATA>
     573      </DATA>
     574    </TABLE>
     575
    571576    <TABLE name="DetectionFlags">
    572577      <DESCRIPTION>Contains information flag values for detections.</DESCRIPTION>
     578      <!-- branches/eam_branches/ipp-20150625/psModules/src/objects/pmSourceMasks.h / pmSourceMode -->
    573579      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
    574580      <FIELD name="name" arraysize="100" datatype="char">
    575581        <DESCRIPTION>Name of flag.</DESCRIPTION>
    576582      </FIELD>
    577       <FIELD name="value" arraysize="1" datatype="long">
    578         <DESCRIPTION>Flag value.</DESCRIPTION>
     583      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     584        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     585      </FIELD>
     586      <FIELD name="value" arraysize="1" datatype="int">
     587        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
    579588      </FIELD>
    580589      <FIELD name="description" arraysize="100" datatype="char">
     
    583592        <DATA>
    584593        <TABLEDATA>
    585           <TR><TD>DEFAULT</TD><TD>0</TD><TD>Initial value: resets all bits</TD></TR>
    586           <TR><TD>PSFMODEL</TD><TD>1</TD><TD>Source fitted with a psf model (linear or non-linear)</TD></TR>
    587           <TR><TD>EXTMODEL</TD><TD>2</TD><TD>Source fitted with an extended-source model</TD></TR>
    588           <TR><TD>FITTED</TD><TD>4</TD><TD>Source fitted with non-linear model (PSF or EXT; good or bad)</TD></TR>
    589           <TR><TD>FAIL</TD><TD>8</TD><TD>Fit (non-linear) failed (non-converge, off-edge, run to zero)</TD></TR>
    590           <TR><TD>POOR</TD><TD>16</TD><TD>Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)</TD></TR>
    591           <TR><TD>PAIR</TD><TD>32</TD><TD>Source fitted with a double psf</TD></TR>
    592           <TR><TD>PSFSTAR</TD><TD>64</TD><TD>Source used to define PSF model</TD></TR>
    593           <TR><TD>SATSTAR</TD><TD>128</TD><TD>Source model peak is above saturation</TD></TR>
    594           <TR><TD>BLEND</TD><TD>256</TD><TD>Source is a blend with other sources</TD></TR>
    595           <TR><TD>EXTERNAL</TD><TD>512</TD><TD>Source based on supplied input position</TD></TR>
    596           <TR><TD>BADPSF</TD><TD>1024</TD><TD>Failed to get good estimate of object's PSF</TD></TR>
    597           <TR><TD>DEFECT</TD><TD>2048</TD><TD>Source is thought to be a defect</TD></TR>
    598           <TR><TD>SATURATED</TD><TD>4096</TD><TD>Source is thought to be saturated pixels (bleed trail)</TD></TR>
    599           <TR><TD>CR_LIMIT</TD><TD>8192</TD><TD>Source has crNsigma above limit</TD></TR>
    600           <TR><TD>EXT_LIMIT</TD><TD>16384</TD><TD>Source has extNsigma above limit</TD></TR>
    601           <TR><TD>MOMENTS_FAILURE</TD><TD>32768</TD><TD>could not measure the moments</TD></TR>
    602           <TR><TD>SKY_FAILURE</TD><TD>65536</TD><TD>could not measure the local sky</TD></TR>
    603           <TR><TD>SKYVAR_FAILURE</TD><TD>131072</TD><TD>could not measure the local sky variance</TD></TR>
    604           <TR><TD>BELOW_MOMENTS_SN</TD><TD>262144</TD><TD>moments not measured due to low S/N</TD></TR>
    605           <TR><TD>BIG_RADIUS</TD><TD>1048576</TD><TD>poor moments for small radius, try large radius</TD></TR>
    606           <TR><TD>AP_MAGS</TD><TD>2097152</TD><TD>source has an aperture magnitude</TD></TR>
    607           <TR><TD>BLEND_FIT</TD><TD>4194304</TD><TD>source was fitted as a blend</TD></TR>
    608           <TR><TD>EXTENDED_FIT</TD><TD>8388608</TD><TD>full extended fit was used</TD></TR>
    609           <TR><TD>EXTENDED_STATS</TD><TD>16777216</TD><TD>extended aperture stats calculated</TD></TR>
    610           <TR><TD>LINEAR_FIT</TD><TD>33554432</TD><TD>source fitted with the linear fit</TD></TR>
    611           <TR><TD>NONLINEAR_FIT</TD><TD>67108864</TD><TD>source fitted with the non-linear fit</TD></TR>
    612           <TR><TD>RADIAL_FLUX</TD><TD>134217728</TD><TD>radial flux measurements calculated</TD></TR>
    613           <TR><TD>SIZE_SKIPPED</TD><TD>268435456</TD><TD>size could not be determined</TD></TR>
    614           <TR><TD>PEAK_ON_SPIKE</TD><TD>536870912</TD><TD>peak lands on diffraction spike</TD></TR>
    615           <TR><TD>PEAK_ON_GHOST</TD><TD>1073741824</TD><TD>peak lands on ghost or glint</TD></TR>
    616           <TR><TD>PEAK_OFF_CHIP</TD><TD>2147483648</TD><TD>peak lands off edge of chip</TD></TR>
    617 
    618           <TR><TD>DIFF_WITH_SINGLE</TD><TD>4294967296</TD><TD>diff source matched to a single positive detection</TD></TR>
    619           <TR><TD>DIFF_WITH_DOUBLE</TD><TD>8589934592</TD><TD>diff source matched to positive detections in both images</TD></TR>
    620           <TR><TD>MATCHED</TD><TD>17179869184</TD><TD>diff source matched to positive detections in both images</TD></TR>
    621           <TR><TD>ON_SPIKE</TD><TD>34359738368</TD><TD>>25% of (PSF-weighted) pixels land on diffraction spike</TD></TR>
    622           <TR><TD>ON_STARCORE</TD><TD>68719476736</TD><TD>>25% of (PSF-weighted) pixels land on starcore</TD></TR>
    623           <TR><TD>ON_BURNTOOL</TD><TD>137438953472</TD><TD>>25% of (PSF-weighted) pixels land on burntool</TD></TR>
    624           <TR><TD>ON_CONVPOOR</TD><TD>274877906944</TD><TD>>25% of (PSF-weighted) pixels land on convpoor</TD></TR>
    625           <TR><TD>PASS1_SRC</TD><TD>549755813888</TD><TD>source detected in first pass analysis</TD></TR>
    626           <TR><TD>HAS_BRIGHTER_NEIGHBOR</TD><TD>1099511627776</TD><TD>peak is not the brightest in its footprint</TD></TR>
    627           <TR><TD>BRIGHT_NEIGHBOR_1</TD><TD>2199023255552</TD><TD>flux_n / (r^2 flux_p) >1</TD></TR>
    628           <TR><TD>BRIGHT_NEIGHBOR_10</TD><TD>4398046511104</TD><TD>flux_n / (r^2 flux_p) >10</TD></TR>
    629           <TR><TD>DIFF_SELF_MATCH</TD><TD>8796093022208</TD><TD>positive detection match is probably this source</TD></TR>
    630           <TR><TD>SATSTAR_PROFILE</TD><TD>17592186044416</TD><TD>saturated source is modeled with a radial profile</TD></TR>
    631 
    632           <TR><TD>NOCAL</TD><TD>35184372088832</TD><TD>detection ignored for this analysis (photcode, time range) -- internal only</TD></TR>
    633           <TR><TD>POOR_PHOTOM</TD><TD>70368744177664</TD><TD>detection is photometry outlier</TD></TR>                             
    634           <TR><TD>SKIP_PHOTOM</TD><TD>140737488355328</TD><TD>detection was ignored for photometry measurement</TD></TR>                     
    635           <TR><TD>AREA</TD><TD>281474976710656</TD><TD>detection near image edge</TD></TR>                     
    636           <TR><TD>POOR_ASTROM</TD><TD>562949953421312</TD><TD>detection is astrometry outlier</TD></TR>                                 
    637           <TR><TD>SKIP_ASTROM</TD><TD>1125899906842624</TD><TD>detection was ignored for astrometry measurement</TD></TR>                         
    638           <TR><TD>USED_OBJ</TD><TD>2251799813685248</TD><TD>detection was used during update objects</TD></TR>
    639           <TR><TD>USED_CHIP</TD><TD>4503599627370496</TD><TD>detection was used during update chips (XXX this probably does not make it into the db)</TD></TR>
    640           <TR><TD>BLEND_MEAS</TD><TD>9007199254740992</TD><TD>detection is within radius of multiple objects</TD></TR>
    641           <TR><TD>BLEND_OBJ</TD><TD>18014398509481984</TD><TD>multiple detections within radius of object</TD></TR>
    642           <TR><TD>UNDEF_3</TD><TD>36028797018963968</TD><TD>unused</TD></TR>
    643           <TR><TD>UNDEF_4</TD><TD>72057594037927936</TD><TD>unused</TD></TR>
    644           <TR><TD>BLEND_MEAS_X</TD><TD>144115188075855872</TD><TD>detection is within radius of multiple objects across catalogs</TD></TR>               
    645           <TR><TD>ARTIFACT</TD><TD>288230376151711744</TD><TD>detection is thought to be non-astronomical</TD></TR>       
    646           <TR><TD>UNDEF_5</TD><TD>576460752303423488</TD><TD>unused</TD></TR>
    647           <TR><TD>PHOTOM_UBERCAL</TD><TD>1152921504606846976</TD><TD>externally-supplied zero point from ubercal analysis</TD></TR>
    648           <TR><TD>STACK_PRIMARY</TD><TD>2305843009213693952</TD><TD>externally-supplied zero point from ubercal analysis</TD></TR>           
    649           <TR><TD>STACK_PHOT_SRC</TD><TD>4611686018427387904</TD><TD>this measurement supplied the stack photometry</TD></TR>
    650         </TABLEDATA>
    651       </DATA>
    652     </TABLE>
     594          <TR><TD>DEFAULT</TD>         <TD>0x00000000</TD><TD>0         </TD><TD>Initial value; resets all bits.</TD></TR>
     595          <TR><TD>PSFMODEL</TD>        <TD>0x00000001</TD><TD>1         </TD><TD>Source fitted with a psf model (linear or non-linear).</TD></TR>
     596          <TR><TD>EXTMODEL</TD>        <TD>0x00000002</TD><TD>2         </TD><TD>Source fitted with an extended-source model.</TD></TR>
     597          <TR><TD>FITTED</TD>          <TD>0x00000004</TD><TD>4         </TD><TD>Source fitted with non-linear model (PSF or EXT; good or bad).</TD></TR>
     598          <TR><TD>FAIL</TD>            <TD>0x00000008</TD><TD>8         </TD><TD>Fit (non-linear) failed (non-converge, off-edge, run to zero).</TD></TR>
     599          <TR><TD>POOR</TD>            <TD>0x00000010</TD><TD>16        </TD><TD>Fit succeeds, but low-S/N, high-Chisq, or large (for PSF -- drop?).</TD></TR>
     600          <TR><TD>PAIR</TD>            <TD>0x00000020</TD><TD>32        </TD><TD>Source fitted with a double PSF.</TD></TR>
     601          <TR><TD>PSFSTAR</TD>         <TD>0x00000040</TD><TD>64        </TD><TD>Source used to define PSF model.</TD></TR>
     602          <TR><TD>SATSTAR</TD>         <TD>0x00000080</TD><TD>128       </TD><TD>Source model peak is above saturation.</TD></TR>
     603          <TR><TD>BLEND</TD>           <TD>0x00000100</TD><TD>256       </TD><TD>Source is a blend with other sources.</TD></TR>
     604          <TR><TD>EXTERNAL</TD>        <TD>0x00000200</TD><TD>512       </TD><TD>Source based on supplied input position.</TD></TR>
     605          <TR><TD>BADPSF</TD>          <TD>0x00000400</TD><TD>1024      </TD><TD>Failed to get good estimate of object's PSF.</TD></TR>
     606          <TR><TD>DEFECT</TD>          <TD>0x00000800</TD><TD>2048      </TD><TD>Source is thought to be a defect.</TD></TR>
     607          <TR><TD>SATURATED</TD>       <TD>0x00001000</TD><TD>4096      </TD><TD>Source is thought to be saturated pixels (bleed trail).</TD></TR>
     608          <TR><TD>CR_LIMIT</TD>        <TD>0x00002000</TD><TD>8192      </TD><TD>Source has crNsigma above limit.</TD></TR>
     609          <TR><TD>EXT_LIMIT</TD>       <TD>0x00004000</TD><TD>16384     </TD><TD>Source has extNsigma above limit.</TD></TR>
     610          <TR><TD>MOMENTS_FAILURE</TD> <TD>0x00008000</TD><TD>32768     </TD><TD>Could not measure the moments.</TD></TR>
     611          <TR><TD>SKY_FAILURE</TD>     <TD>0x00010000</TD><TD>65536     </TD><TD>Could not measure the local sky.</TD></TR>
     612          <TR><TD>SKYVAR_FAILURE</TD>  <TD>0x00020000</TD><TD>131072    </TD><TD>Could not measure the local sky variance.</TD></TR>
     613          <TR><TD>BELOW_MOMENTS_SN</TD><TD>0x00040000</TD><TD>262144    </TD><TD>Moments not measured due to low S/N.</TD></TR>
     614          <TR><TD>UNDEF_1</TD>         <TD>0x00080000</TD><TD>524288    </TD><TD>Unused bit value.</TD></TR>
     615          <TR><TD>BIG_RADIUS</TD>      <TD>0x00100000</TD><TD>1048576   </TD><TD>Poor moments for small radius, try large radius.</TD></TR>
     616          <TR><TD>AP_MAGS</TD>         <TD>0x00200000</TD><TD>2097152   </TD><TD>Source has an aperture magnitude.</TD></TR>
     617          <TR><TD>BLEND_FIT</TD>       <TD>0x00400000</TD><TD>4194304   </TD><TD>Source was fitted as a blend.</TD></TR>
     618          <TR><TD>EXTENDED_FIT</TD>    <TD>0x00800000</TD><TD>8388608   </TD><TD>Full extended fit was used.</TD></TR>
     619          <TR><TD>EXTENDED_STATS</TD>  <TD>0x01000000</TD><TD>16777216  </TD><TD>Extended aperture stats calculated.</TD></TR>
     620          <TR><TD>LINEAR_FIT</TD>      <TD>0x02000000</TD><TD>33554432  </TD><TD>Source fitted with the linear fit.</TD></TR>
     621          <TR><TD>NONLINEAR_FIT</TD>   <TD>0x04000000</TD><TD>67108864  </TD><TD>Source fitted with the non-linear fit.</TD></TR>
     622          <TR><TD>RADIAL_FLUX</TD>     <TD>0x08000000</TD><TD>134217728 </TD><TD>Radial flux measurements calculated.</TD></TR>
     623          <TR><TD>SIZE_SKIPPED</TD>    <TD>0x10000000</TD><TD>268435456 </TD><TD>Size could not be determined.</TD></TR>
     624          <TR><TD>PEAK_ON_SPIKE</TD>   <TD>0x20000000</TD><TD>536870912 </TD><TD>Peak lands on diffraction spike.</TD></TR>
     625          <TR><TD>PEAK_ON_GHOST</TD>   <TD>0x40000000</TD><TD>1073741824</TD><TD>Peak lands on ghost or glint.</TD></TR>
     626          <TR><TD>PEAK_OFF_CHIP</TD>   <TD>0x80000000</TD><TD>2147483648</TD><TD>Peak lands off edge of chip.</TD></TR>
     627        </TABLEDATA>
     628      </DATA>
     629    </TABLE>
     630
     631    <TABLE name="DetectionFlags2">
     632      <DESCRIPTION>Contains information flag values for detections.</DESCRIPTION>
     633      <!-- branches/eam_branches/ipp-20150625/psModules/src/objects/pmSourceMasks.h / pmSourceMode2 -->
     634      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
     635      <FIELD name="name" arraysize="100" datatype="char">
     636        <DESCRIPTION>Name of flag.</DESCRIPTION>
     637      </FIELD>
     638      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     639        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     640      </FIELD>
     641      <FIELD name="value" arraysize="1" datatype="int">
     642        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
     643      </FIELD>
     644      <FIELD name="description" arraysize="100" datatype="char">
     645        <DESCRIPTION>Description of the flag.</DESCRIPTION>
     646      </FIELD>
     647        <DATA>
     648        <TABLEDATA>
     649          <TR><TD>DEFAULT</TD>              <TD>0x00000000</TD><TD>0         </TD><TD>Initial value; resets all bits.</TD></TR>
     650          <TR><TD>DIFF_WITH_SINGLE</TD>     <TD>0x00000001</TD><TD>1         </TD><TD>Difference source matched to a single positive detection.</TD></TR>
     651          <TR><TD>DIFF_WITH_DOUBLE</TD>     <TD>0x00000002</TD><TD>2         </TD><TD>Difference source matched to positive detections in both images.</TD></TR>
     652          <TR><TD>MATCHED</TD>              <TD>0x00000004</TD><TD>4         </TD><TD>Difference source matched to positive detections in both images.</TD></TR>
     653          <TR><TD>ON_SPIKE</TD>             <TD>0x00000008</TD><TD>8         </TD><TD>More than 25% of (PSF-weighted) pixels land on diffraction spike.</TD></TR>
     654          <TR><TD>ON_STARCORE</TD>          <TD>0x00000010</TD><TD>16        </TD><TD>More than 25% of (PSF-weighted) pixels land on starcore.</TD></TR>
     655          <TR><TD>ON_BURNTOOL</TD>          <TD>0x00000020</TD><TD>32        </TD><TD>More than 25% of (PSF-weighted) pixels land on burntool.</TD></TR>
     656          <TR><TD>ON_CONVPOOR</TD>          <TD>0x00000040</TD><TD>64        </TD><TD>More than 25% of (PSF-weighted) pixels land on convpoor.</TD></TR>
     657          <TR><TD>PASS1_SRC</TD>            <TD>0x00000080</TD><TD>128       </TD><TD>Source detected in first pass analysis</TD></TR>
     658          <TR><TD>HAS_BRIGHTER_NEIGHBOR</TD><TD>0x00000100</TD><TD>256       </TD><TD>Peak is not the brightest in its footprint</TD></TR>
     659          <TR><TD>BRIGHT_NEIGHBOR_1</TD>    <TD>0x00000200</TD><TD>512       </TD><TD>Flux_negative / (r^2 flux_positive) > 1.</TD></TR>
     660          <TR><TD>BRIGHT_NEIGHBOR_10</TD>   <TD>0x00000400</TD><TD>1024      </TD><TD>Flux_negative / (r^2 flux_positive) > 10.</TD></TR>
     661          <TR><TD>DIFF_SELF_MATCH</TD>      <TD>0x00000800</TD><TD>2048      </TD><TD>Positive detection match is probably this source.</TD></TR>
     662          <TR><TD>SATSTAR_PROFILE</TD>      <TD>0x00001000</TD><TD>4096      </TD><TD>Saturated source is modeled with a radial profile.</TD></TR>
     663         
     664          <TR><TD>ECONTOUR_FEW_PTS</TD>     <TD>0x00002000</TD><TD>8192     </TD><TD>Too few points to measure the elliptical contour.</TD></TR>
     665          <TR><TD>RADBIN_NAN_CENTER</TD>    <TD>0x00004000</TD><TD>16384    </TD><TD>Radial bins failed with too many NaN center bin.</TD></TR>
     666          <TR><TD>PETRO_NAN_CENTER</TD>     <TD>0x00008000</TD><TD>32768    </TD><TD>Petrosian radial bins failed with too many NaN center bin.</TD></TR>
     667          <TR><TD>PETRO_NO_PROFILE</TD>     <TD>0x00010000</TD><TD>65536    </TD><TD>Petrosian not built becaues radial bins missing.</TD></TR>
     668          <TR><TD>PETRO_INSIG_RATIO</TD>    <TD>0x00020000</TD><TD>131072   </TD><TD>Insignificant measurement of Petrosian ratio.</TD></TR>
     669          <TR><TD>PETRO_RATIO_ZEROBIN</TD>  <TD>0x00040000</TD><TD>262144   </TD><TD>Petrosian ratio in the 0th bin (likely bad).</TD></TR>
     670          <TR><TD>EXT_FITS_RUN</TD>         <TD>0x00080000</TD><TD>524288   </TD><TD>Attempted to run extended fits on this source.</TD></TR>
     671          <TR><TD>EXT_FITS_FAIL</TD>        <TD>0x00100000</TD><TD>1048576  </TD><TD>At least one of the model fits failed.</TD></TR>
     672          <TR><TD>EXT_FITS_RETRY</TD>       <TD>0x00200000</TD><TD>2097152  </TD><TD>One of the model fits was retried with new window.</TD></TR>
     673          <TR><TD>EXT_FITS_NONE</TD>        <TD>0x00400000</TD><TD>4194304  </TD><TD>All of the model fits failed.</TD></TR>
     674        </TABLEDATA>                       
     675      </DATA>                               
     676    </TABLE>                               
     677
     678    <TABLE name="DetectionFlags3">
     679      <DESCRIPTION>Contains information flag values for detections.</DESCRIPTION>
     680      <!-- branches/eam_branches/ipp-20150625/Ohana/src/libdvo/include/dvo.h / DVOMeasureFlags -->
     681      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
     682      <FIELD name="name" arraysize="100" datatype="char">
     683        <DESCRIPTION>Name of flag.</DESCRIPTION>
     684      </FIELD>
     685      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     686        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     687      </FIELD>
     688      <FIELD name="value" arraysize="1" datatype="int">
     689        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
     690      </FIELD>
     691      <FIELD name="description" arraysize="100" datatype="char">
     692        <DESCRIPTION>Description of the flag.</DESCRIPTION>
     693      </FIELD>
     694        <DATA>
     695        <TABLEDATA>
     696          <TR><TD>DEFAULT</TD>       <TD>0x00000000</TD><TD>0          </TD><TD>Initial value; resets all bits.</TD></TR>
     697          <TR><TD>NOCAL</TD>         <TD>0x00000001</TD><TD>1          </TD><TD>Detection ignored for this analysis (photcode, time range) -- internal only.</TD></TR>
     698          <TR><TD>POOR_PHOTOM</TD>   <TD>0x00000002</TD><TD>2          </TD><TD>Detection is photometry outlier.</TD></TR>                             
     699          <TR><TD>SKIP_PHOTOM</TD>   <TD>0x00000004</TD><TD>4          </TD><TD>Detection was ignored for photometry measurement.</TD></TR>                     
     700          <TR><TD>AREA</TD>          <TD>0x00000008</TD><TD>8          </TD><TD>Detection near image edge.</TD></TR>                     
     701          <TR><TD>POOR_ASTROM</TD>   <TD>0x00000010</TD><TD>16         </TD><TD>Detection is astrometry outlier.</TD></TR>                                 
     702          <TR><TD>SKIP_ASTROM</TD>   <TD>0x00000020</TD><TD>32         </TD><TD>Detection was ignored for astrometry measurement.</TD></TR>                         
     703          <TR><TD>USED_OBJ</TD>      <TD>0x00000040</TD><TD>64         </TD><TD>Detection was used during update objects</TD></TR>
     704          <TR><TD>USED_CHIP</TD>     <TD>0x00000080</TD><TD>128        </TD><TD>Detection was used during update chips.</TD></TR>
     705          <TR><TD>BLEND_MEAS</TD>    <TD>0x00000100</TD><TD>256        </TD><TD>Detection is within radius of multiple objects.</TD></TR>
     706          <TR><TD>BLEND_OBJ</TD>     <TD>0x00000200</TD><TD>512        </TD><TD>Multiple detections within radius of object.</TD></TR>
     707
     708          <TR><TD>WARP_USED</TD>     <TD>0x00000400</TD><TD>1024       </TD><TD>Measurement used to find mean warp photometry.</TD></TR>
     709
     710          <TR><TD>UNDEF_4</TD>       <TD>0x00000800</TD><TD>2048       </TD><TD>Unused bit value.</TD></TR>
     711          <TR><TD>BLEND_MEAS_X</TD>  <TD>0x00001000</TD><TD>4096       </TD><TD>Detection is within radius of multiple objects across catalogs.</TD></TR>               
     712          <TR><TD>ARTIFACT</TD>      <TD>0x00002000</TD><TD>8192       </TD><TD>Detection is thought to be non-astronomical.</TD></TR>       
     713
     714          <TR><TD>SYNTH_MAG</TD>     <TD>0x00004000</TD><TD>16384      </TD><TD>Magnitude is synthetic.</TD></TR>
     715          <TR><TD>PHOTOM_UBERCAL</TD><TD>0x00008000</TD><TD>32768      </TD><TD>Externally-supplied zero point from ubercal analysis.</TD></TR>
     716          <TR><TD>STACK_PRIMARY</TD> <TD>0x00010000</TD><TD>65536      </TD><TD>This stack measurement is in the primary skycell.</TD></TR>           
     717          <TR><TD>STACK_PHOT_SRC</TD><TD>0x00020000</TD><TD>131072     </TD><TD>This measurement supplied the stack photometry.</TD></TR>
     718          <TR><TD>ICRF_QSO</TD>      <TD>0x00040000</TD><TD>262144     </TD><TD>This measurement is an ICRF reference position.</TD></TR>
     719          <TR><TD>IMAGE_EPOCH</TD>   <TD>0x00080000</TD><TD>524288     </TD><TD>This measurement is registered to the image epoch (not tied to the reference catalog epoch).</TD></TR>
     720          <TR><TD>PHOTOM_PSF</TD>    <TD>0x00100000</TD><TD>1048576    </TD><TD>This measurement is used for the mean PSF magnitude.</TD></TR>
     721          <TR><TD>PHOTOM_APER</TD>   <TD>0x00200000</TD><TD>2097152    </TD><TD>This measurement is used for the mean aperture magnitude.</TD></TR>
     722          <TR><TD>PHOTOM_KRON</TD>   <TD>0x00400000</TD><TD>4194304    </TD><TD>This measurement is used for the mean Kron magnitude.</TD></TR>
     723        </TABLEDATA>
     724      </DATA>
     725    </TABLE>
     726
    653727    <TABLE name="ObjectInfoFlags">
    654728      <DESCRIPTION>Contains information flag values for objects.</DESCRIPTION>
     729      <!-- branches/eam_branches/ipp-20150625/Ohana/src/libdvo/include/dvo.h / DVOAverageFlags -->
    655730      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
    656731      <FIELD name="name" arraysize="100" datatype="char">
    657732        <DESCRIPTION>Name of flag</DESCRIPTION>
    658733      </FIELD>
    659       <FIELD name="value" arraysize="1" datatype="long">
    660         <DESCRIPTION>Flag value</DESCRIPTION>
     734      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     735        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     736      </FIELD>
     737      <FIELD name="value" arraysize="1" datatype="int">
     738        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
    661739      </FIELD>
    662740      <FIELD name="description" arraysize="100" datatype="char">
     
    665743        <DATA>
    666744        <TABLEDATA>
    667           <TR><TD>FEW</TD><TD>1</TD><TD>used within relphot: skip star</TD></TR>
    668           <TR><TD>POOR</TD><TD>2</TD><TD>used within relphot: skip star</TD></TR>
    669           <TR><TD>FIT_AVE</TD><TD>65536</TD><TD>average position fitted</TD></TR>
    670           <TR><TD>FIT_PM</TD><TD>131072</TD><TD>proper motion fitted</TD></TR>
    671           <TR><TD>FIT_PAR</TD><TD>262144</TD><TD>parallax fitted</TD></TR>
    672           <TR><TD>USE_AVE</TD><TD>524288</TD><TD>average position used (not PM or PAR)</TD></TR>
    673           <TR><TD>USE_PM</TD><TD>1048576</TD><TD>proper motion used (not AVE or PAR)</TD></TR>
    674           <TR><TD>USE_PAR</TD><TD>2097152</TD><TD>parallax used (not AVE or PM)</TD></TR>
    675           <TR><TD>NO_ASTROM</TD><TD>4194304</TD><TD>mean astrometry could not be measured</TD></TR>
    676           <TR><TD>EXT</TD><TD>16777216</TD><TD>extended in our data (eg, PS)</TD></TR>
    677           <TR><TD>EXT_ALT</TD><TD>33554432</TD><TD>extended in external data (eg, 2MASS)</TD></TR>
    678           <TR><TD>GOOD</TD><TD>67108864</TD><TD>good-quality measurement in our data (eg,PS)</TD></TR>
    679           <TR><TD>GOOD_ALT</TD><TD>134217728</TD><TD>good-quality measurement in  external data (eg, 2MASS)</TD></TR>
    680           <TR><TD>OBJ_GOOD_STACK</TD><TD>268435456</TD><TD>good-quality object in the stack (> 1 good stack)</TD></TD>
    681           <TR><TD>OBJ_SUSPECT_STACK</TD>536870912<TD></TD><TD>suspect object in the stack (> 1 good or suspect stack, less tham 2 good)</TD></TR>
    682           <TR><TD>OBJ_BAD_STACK</TD><TD>1073741824</TD><TD>bad-quality object in the stack (> 1 good stack)</TD></TR>
    683         </TABLEDATA>
    684       </DATA>
    685     </TABLE>
     745          <TR><TD>DEFAULT</TD>           <TD>0x00000000</TD><TD>0              </TD><TD>Initial value; resets all bits.</TD></TR>
     746          <TR><TD>FEW</TD>               <TD>0x00000001</TD><TD>1              </TD><TD>Used within relphot; skip star.</TD></TR>
     747          <TR><TD>POOR</TD>              <TD>0x00000002</TD><TD>2              </TD><TD>Used within relphot; skip star.</TD></TR>
     748          <TR><TD>ICRF_QSO</TD>          <TD>0x00000004</TD><TD>4              </TD><TD>Object identified with known ICRF quasar (may have ICRF position measurement).</TD></TR>
     749          <TR><TD>OTHEF_QSO</TD>         <TD>0x00000008</TD><TD>8              </TD><TD>Object identified with known or suspected quasar, without ICRF reference data.</TD></TR>
     750          <TR><TD>PROPER</TD>            <TD>0x00000010</TD><TD>16             </TD><TD>Star with large proper motion.</TD></TR>
     751          <TR><TD>TRANSIENT</TD>         <TD>0x00000020</TD><TD>32             </TD><TD>Identified as a stationary non-periodic transient.</TD></TR>
     752          <TR><TD>VARIABLE</TD>          <TD>0x00000040</TD><TD>64             </TD><TD>Identified as a periodic variable.</TD></TR>
     753          <TR><TD>ASTEROID</TD>          <TD>0x00000080</TD><TD>128            </TD><TD>Identified with a known solar-system object (asteroid or other).</TD></TR>
     754          <TR><TD>STACK_ASTROM</TD>      <TD>0x00000100</TD><TD>256            </TD><TD>Stack position used for astrometry.</TD></TR>
     755
     756          <TR><TD>UNDEF_1</TD>           <TD>0x00000200</TD><TD>512            </TD><TD>Unused bit value.</TD></TR>
     757          <TR><TD>UNDEF_2</TD>           <TD>0x00000400</TD><TD>1024           </TD><TD>Unused bit value.</TD></TR>
     758          <TR><TD>UNDEF_3</TD>           <TD>0x00000800</TD><TD>2048           </TD><TD>Unused bit value.</TD></TR>
     759          <TR><TD>UNDEF_4</TD>           <TD>0x00001000</TD><TD>4096           </TD><TD>Unused bit value.</TD></TR>
     760          <TR><TD>UNDEF_5</TD>           <TD>0x00002000</TD><TD>8192           </TD><TD>Unused bit value.</TD></TR>
     761          <TR><TD>UNDEF_6</TD>           <TD>0x00004000</TD><TD>16384          </TD><TD>Unused bit value.</TD></TR>
     762          <TR><TD>UNDEF_7</TD>           <TD>0x00008000</TD><TD>32768          </TD><TD>Unused bit value.</TD></TR>
     763
     764          <TR><TD>FIT_AVE</TD>           <TD>0x00010000</TD><TD>65536          </TD><TD>Average position fitted.</TD></TR>
     765          <TR><TD>FIT_PM</TD>            <TD>0x00020000</TD><TD>131072         </TD><TD>Proper motion fitted.</TD></TR>
     766          <TR><TD>FIT_PAR</TD>           <TD>0x00040000</TD><TD>262144         </TD><TD>Parallax fitted.</TD></TR>
     767          <TR><TD>USE_AVE</TD>           <TD>0x00080000</TD><TD>524288         </TD><TD>Average position used (not PM or PAR).</TD></TR>
     768          <TR><TD>USE_PM</TD>            <TD>0x00100000</TD><TD>1048576        </TD><TD>Proper motion used (not AVE or PAR).</TD></TR>
     769          <TR><TD>USE_PAR</TD>           <TD>0x00200000</TD><TD>2097152        </TD><TD>Parallax used (not AVE or PM).</TD></TR>
     770          <TR><TD>NO_ASTROM</TD>         <TD>0x00400000</TD><TD>4194304        </TD><TD>Mean astrometry could not be measured.</TD></TR>
     771
     772          <TR><TD>STAR_BAD_PM</TD>       <TD>0x00800000</TD><TD>8388608        </TD><TD>Mean astrometry could not be measured.</TD></TR>
     773
     774          <TR><TD>EXT</TD>               <TD>0x01000000</TD><TD>16777216       </TD><TD>Extended in our data (eg, PS).</TD></TR>
     775          <TR><TD>EXT_ALT</TD>           <TD>0x02000000</TD><TD>33554432       </TD><TD>Extended in external data (eg, 2MASS).</TD></TR>
     776          <TR><TD>GOOD</TD>              <TD>0x04000000</TD><TD>67108864       </TD><TD>Good-quality measurement in our data (eg,PS).</TD></TR>
     777          <TR><TD>GOOD_ALT</TD>          <TD>0x08000000</TD><TD>134217728      </TD><TD>Good-quality measurement in  external data (eg, 2MASS).</TD></TR>
     778          <TR><TD>OBJ_GOOD_STACK</TD>    <TD>0x10000000</TD><TD>268435456      </TD><TD>Good-quality object in the stack (> 1 good stack).</TD></TD>
     779          <TR><TD>OBJ_SUSPECT_STACK</TD> <TD>0x20000000</TD><TD>536870912      </TD><TD>Suspect object in the stack (> 1 good or suspect stack, less tham 2 good).</TD></TR>
     780          <TR><TD>OBJ_BAD_STACK</TD>     <TD>0x40000000</TD><TD>1073741824     </TD><TD>Bad-quality object in the stack (> 1 good stack).</TD></TR>
     781        </TABLEDATA>
     782      </DATA>
     783    </TABLE>
     784
    686785     <TABLE name="ObjectFilterFlags">
     786      <!-- branches/eam_branches/ipp-20150625/Ohana/src/libdvo/include/dvo.h / DVOSecFiltFlags -->
    687787      <DESCRIPTION>Contains information flags for the photometric calibration of an object.</DESCRIPTION>
    688788      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
     
    690790        <DESCRIPTION>Name of flag.</DESCRIPTION>
    691791      </FIELD>
    692       <FIELD name="value" arraysize="1" datatype="long">
    693         <DESCRIPTION>Flag value.</DESCRIPTION>
     792      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     793        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     794      </FIELD>
     795      <FIELD name="value" arraysize="1" datatype="int">
     796        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
    694797      </FIELD>
    695798      <FIELD name="description" arraysize="100" datatype="char">
     
    698801        <DATA>
    699802        <TABLEDATA>
    700           <TR><TD>SECF_STAR_FEW</TD><TD>1</TD><TD>used within relphot: skip star</TD></TR>
    701           <TR><TD>SECF_STAR_POOR</TD><TD>2</TD><TD>used within relphot: skip star</TD></TR>
    702           <TR><TD>SECF_USE_SYNTH</TD><TD>4</TD><TD>synthetic photometry used in average measurement</TD></TR>
    703           <TR><TD>SECF_USE_UBERCAL</TD><TD>8</TD><TD>synthetic photometry used in average measurement</TD></TR>
    704           <TR><TD>SECF_HAS_PS1</TD><TD>16</TD><TD>PS1 photometry used in average measurement</TD></TR>
    705           <TR><TD>SECF_HAS_STACK</TD><TD>32</TD><TD>PS1 stack photometry exists</TD></TR>
    706           <TR><TD>PHOTOM_PASS_0</TD><TD>256</TD><TD>average magnitude calculated in 0th pass</TD></TR>
    707           <TR><TD>PHOTOM_PASS_1</TD><TD>512</TD><TD>average magnitude calculated in 1th pass</TD></TR>
    708           <TR><TD>PHOTOM_PASS_2</TD><TD>1024</TD><TD>average magnitude calculated in 2th pass</TD></TR>
    709           <TR><TD>PHOTOM_PASS_3</TD><TD>2048</TD><TD>average magnitude calculated in 3th pass</TD></TR>
    710           <TR><TD>PHOTOM_PASS_4</TD><TD>4096</TD><TD>average magnitude calculated in 4th pass</TD></TR>
    711           <TR><TD>PSPS_OBJ_EXT</TD><TD>8192</TD><TD>extended in this band (PSPS only)</TD></TR>
     803          <TR><TD>DEFAULT</TD>           <TD>0x00000000</TD><TD>0              </TD><TD>Initial value; resets all bits.</TD></TR>
     804          <TR><TD>SECF_STAR_FEW</TD>     <TD>0x00000001</TD><TD>1              </TD><TD>Used within relphot: skip star.</TD></TR>
     805          <TR><TD>SECF_STAR_POOR</TD>    <TD>0x00000002</TD><TD>2              </TD><TD>Used within relphot: skip star.</TD></TR>
     806          <TR><TD>SECF_USE_SYNTH</TD>    <TD>0x00000004</TD><TD>4              </TD><TD>Synthetic photometry used in average measurement.</TD></TR>
     807          <TR><TD>SECF_USE_UBERCAL</TD>  <TD>0x00000008</TD><TD>8              </TD><TD>Ubercal photometry used in average measurement.</TD></TR>
     808          <TR><TD>SECF_HAS_PS1</TD>      <TD>0x00000010</TD><TD>16             </TD><TD>PS1 photometry used in average measurement.</TD></TR>
     809          <TR><TD>SECF_HAS_STACK</TD>    <TD>0x00000020</TD><TD>32             </TD><TD>PS1 stack photometry exists.</TD></TR>
     810
     811          <TR><TD>SECF_HAS_TYCHO</TD>    <TD>0x00000040</TD><TD>64             </TD><TD>Tycho photometry used for synthetic magnitudes.</TD></TR>
     812          <TR><TD>SECF_FIX_SYNTH</TD>    <TD>0x00000080</TD><TD>128            </TD><TD>Synthetic magnitudes repaired with zeropoint map.</TD></TR>
     813
     814          <TR><TD>PHOTOM_PASS_0</TD>     <TD>0x00000100</TD><TD>256            </TD><TD>Average magnitude calculated in 0th pass.</TD></TR>
     815          <TR><TD>PHOTOM_PASS_1</TD>     <TD>0x00000200</TD><TD>512            </TD><TD>Average magnitude calculated in 1th pass.</TD></TR>
     816          <TR><TD>PHOTOM_PASS_2</TD>     <TD>0x00000400</TD><TD>1024           </TD><TD>Average magnitude calculated in 2th pass.</TD></TR>
     817          <TR><TD>PHOTOM_PASS_3</TD>     <TD>0x00000800</TD><TD>2048           </TD><TD>Average magnitude calculated in 3th pass.</TD></TR>
     818          <TR><TD>PHOTOM_PASS_4</TD>     <TD>0x00001000</TD><TD>4096           </TD><TD>Average magnitude calculated in 4th pass.</TD></TR>
     819          <TR><TD>PSPS_OBJ_EXT</TD>      <TD>0x00002000</TD><TD>8192           </TD><TD>Extended in this band (PSPS only).</TD></TR>
     820          <TR><TD>SECF_STACK_PRIMARY</TD><TD>0x00004000</TD><TD>16384          </TD><TD>PS1 stack photometry comes from primary skycell.</TD></TR>
    712821        </TABLEDATA>
    713822      </DATA>
    714823    </TABLE>
    715824     <TABLE name="ObjectQualityFlags">
    716       <DESCRIPTION>Contains information flag values that denote if an object is real or a possible false positive.</DESCRIPTION>
     825      <DESCRIPTION>Contains information flag values that denote if an object is real or a possible false positive.  </DESCRIPTION>
    717826      <PARAM arraysize="1" datatype="char" ucd="meta.bib.author" name="Author" value="PSPS"></PARAM>
    718827      <FIELD name="name" arraysize="100" datatype="char">
    719828        <DESCRIPTION>Name of flag.</DESCRIPTION>
    720829      </FIELD>
    721       <FIELD name="value" arraysize="1" datatype="long">
    722         <DESCRIPTION>Flag value.</DESCRIPTION>
     830      <FIELD name="hexadecimal" arraysize="1" datatype="int">
     831        <DESCRIPTION>Flag value in hexadecimal form.</DESCRIPTION>
     832      </FIELD>
     833      <FIELD name="value" arraysize="1" datatype="int">
     834        <DESCRIPTION>Flag value in decimal form.</DESCRIPTION>
    723835      </FIELD>
    724836      <FIELD name="description" arraysize="100" datatype="char">
     
    727839        <DATA>
    728840        <TABLEDATA>
    729           <TR><TD>QF_OBJ_EXT</TD><TD>1</TD><TD>extended in our data (eg, PS)</TD></TR>
    730           <TR><TD>QF_OBJ_EXT_ALT</TD><TD>2</TD><TD>extended in external data (eg, 2MASS)</TD></TR>
    731           <TR><TD>QF_OBJ_GOOD</TD><TD>4</TD><TD>good-quality measurement in our data (eg,PS)</TD></TR>
    732           <TR><TD>QF_OBJ_GOOD_ALT</TD><TD>8</TD><TD>good-quality measurement in  external data (eg, 2MASS)</TD></TR>
    733           <TR><TD>QF_OBJ_GOOD_STACK</TD><TD>16</TD><TD>good-quality object in the stack (> 1 good stack)</TD></TR>
    734           <TR><TD>QF_OBJ_SUSPECT_STACK</TD><TD>32</TD><TD>suspect object in the stack (> 1 good or suspect stack, less tham 2 good)</TD></TR>
    735           <TR><TD>QF_OBJ_BAD_STACK</TD><TD>64</TD><TD>good-quality object in the stack (> 1 good stack)</TD></TR>
     841          <TR><TD>DEFAULT</TD>             <TD>0x00000000</TD><TD>0       </TD><TD>Initial value; resets all bits.</TD></TR>
     842          <TR><TD>QF_OBJ_EXT</TD>          <TD>0x00000001</TD><TD>1       </TD><TD>Extended in our data (eg, PS).</TD></TR>
     843          <TR><TD>QF_OBJ_EXT_ALT</TD>      <TD>0x00000002</TD><TD>2       </TD><TD>Extended in external data (eg, 2MASS).</TD></TR>
     844          <TR><TD>QF_OBJ_GOOD</TD>         <TD>0x00000004</TD><TD>4       </TD><TD>Good-quality measurement in our data (eg,PS).</TD></TR>
     845          <TR><TD>QF_OBJ_GOOD_ALT</TD>     <TD>0x00000008</TD><TD>8       </TD><TD>Good-quality measurement in  external data (eg, 2MASS).</TD></TR>
     846          <TR><TD>QF_OBJ_GOOD_STACK</TD>   <TD>0x00000010</TD><TD>16      </TD><TD>Good-quality object in the stack (> 1 good stack).</TD></TR>
     847          <TR><TD>QF_OBJ_SUSPECT_STACK</TD><TD>0x00000020</TD><TD>32      </TD><TD>Suspect object in the stack (> 1 good or suspect stack, less tham 2 good).</TD></TR>
     848          <TR><TD>QF_OBJ_BAD_STACK</TD>    <TD>0x00000040</TD><TD>64      </TD><TD>Good-quality object in the stack (> 1 good stack).</TD></TR>
    736849        </TABLEDATA>
    737850      </DATA>
Note: See TracChangeset for help on using the changeset viewer.