IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 5 and Version 6 of ZoologyInvestigations


Ignore:
Timestamp:
Aug 24, 2011, 11:58:55 AM (15 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZoologyInvestigations

    v5 v6  
    7777I did investigations of flag2 first, because there are fewer of those.  I did cuts to remove 64,32,16,8, since those all had to do with mask, cosmicray, burntool, starspikes (ON_SPIKE, ON_STARCORE, ON_BURNTOOL, ON_CONVPOOR), which are not necessary objects we want to count.
    7878
    79 I then cut on DEFECT, SATURATED, CR_LIMIT, EXT_LIMIT, and SIZE_SKIPPED on flag. These seemed like reasonable candidates for flags that maybe should be used to filter out bad detections.
     79I then cut the following on the flag field
     80
     81 * DEFECT
     82 * SATURATED
     83 * CR_LIMIT
     84 * EXT_LIMIT
     85 * SIZE_SKIPPED
     86
     87These seemed like reasonable candidates for flags that maybe should be used to filter out bad detections.
    8088
    8189I also did cuts to remove NULL mags (is there any mag which should ALWAYS be calculated? I can cut on that instead of the mag I cut)
     
    8391
    8492Here's what we have left:
    85 mysql> select count(*), flags, flags2 from DetectionFeatures where (!(flags2 & 64) and !(flags2 & 32) and !(flags2 & 16) and !(flags2&8) and !(flags & 2048) and !(flags & 4096) and !(flags&8192) and !(flags&16384) and !(flags&268435456)) and !(cal_psf_mag is null) group by flags,flags2;
     93
     94{{{
     95select count(*), flags, flags2
     96from DetectionFeatures
     97where (!(flags2 & 64)
     98and !(flags2 & 32)
     99and !(flags2 & 16)
     100and !(flags2&8)
     101and !(flags & 2048)
     102and !(flags & 4096)
     103and !(flags&8192)
     104and !(flags&16384)
     105and !(flags&268435456))
     106and !(cal_psf_mag is null)
     107group by flags,flags2;
     108}}}
     109
     110Which resulted in:
    86111
    87112{{{