| 86 | | |
| | 86 | |
| | 87 | == Finding particular detections in the DVO catalog files == |
| | 88 | Let me say up front that there are undoubtedly ways to use DVO commands to accomplish this, but I found it quicker and more flexible |
| | 89 | to use STILTS. |
| | 90 | |
| | 91 | The file o5745g0427o.356801.missing.fit contains a list of the psphot detections that were not matched to the PSPS detections. Perusing these detections |
| | 92 | I choose one not near the edge of the frame: IMAGE_ID 35680124 (from OTA XY24), DET_ID 140. |
| | 93 | |
| | 94 | The program detectToMeasure may be used to look for the missing detections in the DVO catalog files. |
| | 95 | |
| | 96 | If we just want to find which catalog and dvo "image" contains this detection we can use |
| | 97 | { |
| | 98 | (ipp079:~/work/psps) bills% detectToMeasure --ra 333.719989076316 --dec -4.47253338047446 --exp_id 356801 --class_id XY24 |
| | 99 | RA DEC NAME CAT_ID EXTERN_ID IMAGE_ID catalogPrefix |
| | 100 | 333.719989076316 -4.47253338047446 s0000/5228.01 NULL 75160686 4638 /data/ipp079.0/gpc1/catdirs/SAS/SAS39.V1/s0000/5228.01 |
| | 101 | } |
| | 102 | To find the missing detection add --det_id 140 |
| | 103 | { |
| | 104 | detectToMeasure --ra 333.719989076316 --dec -4.47253338047446 --exp_id 356801 --class_id XY24 --det_id 140 --output det140.fit |
| | 105 | |
| | 106 | Sure enough it's in there. |
| | 107 | % ftlist det140.fit h |
| | 108 | |
| | 109 | Name Type Dimensions |
| | 110 | ---- ---- ---------- |
| | 111 | HDU 1 Primary Array Image Int1(3659) |
| | 112 | HDU 2 DVO_MEASURE_PS1_V5 BinTable 63 cols x 1 rows |
| | 113 | } |
| | 114 | |
| | 115 | If the --list-others option is used it will extract all detections for the dvo object for the detection in question. if --list-others --this-image is used it |
| | 116 | finds detections from this image which are associated with the same object. |
| | 117 | |
| | 118 | |
| | 119 | {{{ |
| | 120 | % detectToMeasure --ra 333.719989076316 --dec -4.47253338047446 --exp_id 356801 --class_id XY24 --det_id 140 --output thisobject.fit --this-image --list-others |
| | 121 | RA DEC NAME CAT_ID EXTERN_ID IMAGE_ID catalogPrefix |
| | 122 | 333.719989076316 -4.47253338047446 s0000/5228.01 NULL 75160686 4638 /data/ipp079.0/gpc1/catdirs/SAS/SAS39.V1/s0000/5228.01 |
| | 123 | |
| | 124 | % ftlist thisobject.fit h |
| | 125 | |
| | 126 | Name Type Dimensions |
| | 127 | ---- ---- ---------- |
| | 128 | HDU 1 Primary Array Image Int1(3659) |
| | 129 | HDU 2 DVO_MEASURE_PS1_V5 BinTable 63 cols x 2 rows |
| | 130 | }}} |
| | 131 | |
| | 132 | Looks like ippToPsps doesn't handle objects with multiple detections in the same image correctly. |