IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 4 and Version 5 of DetectionsToMeasurements


Ignore:
Timestamp:
Sep 16, 2015, 3:30:28 PM (11 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DetectionsToMeasurements

    v4 v5  
    8484
    8585The next step is to trace the detections in PSPS back to the DVO catalog.
    86  
     86
     87== Finding particular detections in the DVO catalog files ==
     88Let me say up front that there are undoubtedly ways to use DVO commands to accomplish this, but I found it quicker and more flexible
     89to use STILTS.
     90
     91The file o5745g0427o.356801.missing.fit contains a list of the psphot detections that were not matched to the PSPS detections. Perusing these detections
     92I choose one not near the edge of the frame: IMAGE_ID 35680124 (from OTA XY24), DET_ID 140.
     93
     94The program detectToMeasure may be used to look for the missing detections in the DVO catalog files.
     95
     96If 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
     99RA            DEC      NAME     CAT_ID EXTERN_ID IMAGE_ID catalogPrefix
     100333.719989076316 -4.47253338047446 s0000/5228.01 NULL 75160686 4638 /data/ipp079.0/gpc1/catdirs/SAS/SAS39.V1/s0000/5228.01
     101}
     102To find the missing detection add --det_id 140
     103{
     104detectToMeasure --ra 333.719989076316 --dec -4.47253338047446 --exp_id 356801 --class_id XY24 --det_id 140 --output det140.fit
     105
     106Sure enough it's in there.
     107% ftlist det140.fit h
     108
     109        Name               Type       Dimensions
     110        ----               ----       ----------
     111HDU 1   Primary Array      Image      Int1(3659)                   
     112HDU 2   DVO_MEASURE_PS1_V5 BinTable    63 cols x 1 rows
     113}
     114
     115If 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
     116finds 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
     121RA            DEC      NAME     CAT_ID EXTERN_ID IMAGE_ID catalogPrefix
     122333.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        ----               ----       ----------
     128HDU 1   Primary Array      Image      Int1(3659)                   
     129HDU 2   DVO_MEASURE_PS1_V5 BinTable    63 cols x 2 rows 
     130}}}
     131
     132Looks like ippToPsps doesn't handle objects with multiple detections in the same image correctly.