Changes between Version 11 and Version 12 of PSPSFlags_SAS10
- Timestamp:
- Nov 21, 2012, 12:37:17 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PSPSFlags_SAS10
v11 v12 30 30 31 31 {{{ 32 Example to select detections which are extended33 34 WHERE (Detection.infoFlag & 0x4000 != 0)35 32 36 33 PM_SOURCE_MODE_DEFAULT = 0x00000000, ///< Initial value: resets all bits … … 66 63 PM_SOURCE_MODE_ON_GHOST = 0x40000000, ///< peak lands on ghost or glint 67 64 PM_SOURCE_MODE_OFF_CHIP = 0x80000000, ///< peak lands off edge of chip 65 66 Example to select detections which are extended 67 68 WHERE (Detection.infoFlag & 0x4000 != 0) 69 68 70 }}} 69 71 … … 72 74 73 75 {{{ 74 Example to select real (not forced) stack detections75 76 WHERE CAST(StackDetection.infoFlag / 0x100000000 AS INT) & 4 = 077 76 78 77 PM_SOURCE_MODE2_DEFAULT = 0x00000000, ///< Initial value: resets all bits … … 90 89 PM_SOURCE_MODE2_DIFF_SELF_MATCH = 0x00000800, ///< positive detection match is probably this source 91 90 PM_SOURCE_MODE2_SATSTAR_PROFILE = 0x00001000, ///< saturated source is modeled with a radial profile 91 92 Example to select real (not forced) stack detections 93 94 WHERE CAST(StackDetection.infoFlag / 0x100000000 AS INT) & 4 = 0 95 96 To remove very bright saturated stars 97 98 WHERE 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) 92 101 }}} 93 102 == !DetectionFull.infoFlag and !StackDetectionFull - Upper bits part 2 - (From DVO db (Measure) Flags shifted left 45 bits) == 94 103 {{{ 95 Example to select the StackDetections that supplied values "stack values" for their Objects96 97 WHERE (CAST(StackDetectionFull.infoFlag / 0x200000000000 AS INT) & 0x20000) != 098 104 99 105 ID_MEAS_NOCAL = 0x00000001, // detection ignored for this analysis (photcode, time range) -- internal only … … 115 121 ID_MEAS_STACK_PRIMARY = 0x00010000, // externally-supplied zero point from ubercal analysis 116 122 ID_MEAS_STACK_PHOT_SRC = 0x00020000, // this measurement supplied the stack photometry 123 124 Example to select the StackDetections that supplied their Object's values for the "stack columns" 125 126 WHERE (CAST(StackDetectionFull.infoFlag / 0x200000000000 AS INT) & 0x20000) != 0 127 117 128 }}} 118 129
