| | 1 | = Objects with StackDetections with Multiple ippObjID = |
| | 2 | |
| | 3 | Peder noticed that not all StackDetections for a given psps object have the same ippObjID. This is expected and is also |
| | 4 | true for single frame detections. |
| | 5 | |
| | 6 | A one to one correspondence between ipp object (dvo average) and psps object |
| | 7 | is not guaranteed. Object.ippObjID gives the ipp object that supplied the average properties. |
| | 8 | |
| | 9 | Any detections for the object that have a different ippObjID were not included in the average calculations. |
| | 10 | |
| | 11 | These are primarily very faint detections many are from forced photometry. |
| | 12 | |
| | 13 | In SAS 11 PSPS objects with stack detections from multiple dvo objects appear to be *all* bad objects. |
| | 14 | A query for objects which have detections with more than one ippObjectID and any of xFlags != 0 returned no rows |
| | 15 | |
| | 16 | |
| | 17 | {{{ |
| | 18 | select Top 10 o.objID, count(distinct sd.ippObjID) |
| | 19 | INTO mydb.[funnyobjs2] FROM |
| | 20 | Object as o join StackDetectionFull as sd on o.objID = sd.objID |
| | 21 | WHERE o.rFlags != 0 or o.gFlags != 0 |
| | 22 | or o.iFlags != 0 or o.zFlags != 0 |
| | 23 | or o.yFlags != 0 |
| | 24 | or o.qualityFlag & 16 != 0 |
| | 25 | GROUP BY o.objID |
| | 26 | HAVING count(distinct sd.ippObjID) > 1 |
| | 27 | |
| | 28 | }}} |
| | 29 | |
| | 30 | A similar query using Detection instead of StackDetection did find some objects with multiple dvo objects and non-zero flags |
| | 31 | |
| | 32 | How does this happen? |
| | 33 | |
| | 34 | |
| | 35 | {{{ |
| | 36 | Example from SAS 11 |
| | 37 | |
| | 38 | ----------------------- |
| | 39 | |
| | 40 | 107513365582181356 was the result of 4 garbage detections within the region for the given ID |
| | 41 | |
| | 42 | DVO has 7 detections with this objID |
| | 43 | |
| | 44 | Staticsky run for skycell.1316.093 found a i=18 and a r=22 detection on artifacts. Since there are detections |
| | 45 | in two filters forced detections were created in the other 3 filters |
| | 46 | |
| | 47 | Call these detection group 1 |
| | 48 | |
| | 49 | |
| | 50 | Staticsky run for skycell.1316.083 found 2 detections on in r on another artifact near the coordinates and nothing in the other filters |
| | 51 | Call these detection groups 2 and 3 |
| | 52 | |
| | 53 | DVO associated the g, i, z, and y detections from group 1 with the r band detection in group 3 into one dvo object |
| | 54 | Call this object A |
| | 55 | |
| | 56 | and |
| | 57 | |
| | 58 | DVO associated the r band detection from groups 1 and 2 with a second DVO object |
| | 59 | call this object B |
| | 60 | |
| | 61 | Both dvo objects have the same PSPS objID |
| | 62 | |
| | 63 | |
| | 64 | PSPS has 6 detections. The r band detection from object A was dropped by ippToPSPS Could this be because it doesn't like two |
| | 65 | detections for the same PSPS object in the same cmf file? |
| | 66 | |
| | 67 | |
| | 68 | |
| | 69 | }}} |