IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 11 and Version 12 of PSPSFlags_SAS10


Ignore:
Timestamp:
Nov 21, 2012, 12:37:17 PM (14 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PSPSFlags_SAS10

    v11 v12  
    3030
    3131 {{{
    32 Example to select detections which are extended
    33 
    34 WHERE (Detection.infoFlag & 0x4000 != 0)
    3532
    3633    PM_SOURCE_MODE_DEFAULT                = 0x00000000, ///< Initial value: resets all bits
     
    6663    PM_SOURCE_MODE_ON_GHOST               = 0x40000000, ///< peak lands on ghost or glint
    6764    PM_SOURCE_MODE_OFF_CHIP               = 0x80000000, ///< peak lands off edge of chip
     65
     66Example to select detections which are extended
     67
     68WHERE (Detection.infoFlag & 0x4000 != 0)
     69
    6870}}}
    6971
     
    7274
    7375{{{
    74 Example to select real (not forced) stack detections
    75 
    76 WHERE CAST(StackDetection.infoFlag / 0x100000000 AS INT) & 4 = 0
    7776
    7877    PM_SOURCE_MODE2_DEFAULT               = 0x00000000, ///< Initial value: resets all bits
     
    9089    PM_SOURCE_MODE2_DIFF_SELF_MATCH       = 0x00000800, ///< positive detection match is probably this source
    9190    PM_SOURCE_MODE2_SATSTAR_PROFILE       = 0x00001000, ///< saturated source is modeled with a radial profile
     91
     92Example to select real (not forced) stack detections
     93
     94WHERE CAST(StackDetection.infoFlag / 0x100000000 AS INT) & 4 = 0
     95
     96To remove very bright saturated stars
     97
     98WHERE CAST(StackDetection.infoFlag / 0x100000000 AS INT) & 0x1000 = 0
     99
     100(Note this will never set for single frame detections since that mode of psphot is not used)
    92101}}}
    93102 == !DetectionFull.infoFlag and !StackDetectionFull - Upper bits part 2 - (From DVO db (Measure) Flags shifted left 45 bits) ==
    94103{{{
    95 Example to select the StackDetections that supplied values "stack values" for their Objects
    96 
    97 WHERE (CAST(StackDetectionFull.infoFlag / 0x200000000000 AS INT) & 0x20000) != 0
    98104
    99105    ID_MEAS_NOCAL          = 0x00000001,  // detection ignored for this analysis (photcode, time range) -- internal only
     
    115121    ID_MEAS_STACK_PRIMARY  = 0x00010000,  // externally-supplied zero point from ubercal analysis                   
    116122    ID_MEAS_STACK_PHOT_SRC = 0x00020000,  // this measurement supplied the stack photometry
     123
     124Example to select the StackDetections that supplied their Object's values for the "stack columns"
     125
     126WHERE (CAST(StackDetectionFull.infoFlag / 0x200000000000 AS INT) & 0x20000) != 0
     127
    117128}}}
    118129