IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of DetectionsToMeasurements


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DetectionsToMeasurements

    v3 v4  
    1818set to the value (exp_id * 100 + IPP_IDET) which matches the format of the column Detection.imageID in PSPS.
    1919
    20 The program is a perl scrip that uses standard IPP programs and the [http://www.star.bristol.ac.uk/~mbt/stilts/ STILTS library].
     20The program is a perl scrip that uses standard IPP programs and the [http://www.star.bristol.ac.uk/~mbt/stilts/ STILTS library]. Several of the
     21examples here also use programs from [https://heasarc.gsfc.nasa.gov/ftools/ftools_menu.html FTOOLS] in particular ftlist.
    2122
    2223Consider the SAS2 exposure 356801. The smf file may be found with the following command.
     
    3738HDU 2   o5745g0427o.356801.cm.1218577.smf BinTable    58 cols x 58059 rows   
    3839
    39 NOTE: concatsmf assumes that the basename of the smf file has begins format $exp_name.$exp_id.cm.$cam_id (but only exp_id is currently used)
     40NOTE: concatsmf assumes that the basename of the smf file has begins with the string $exp_name.$exp_id.cm.$cam_id (but only exp_id is currently used).
    4041}}}
    4142
     
    5657Did they get lost loading into DVO or in the ippToPsps process?
    5758
    58 Let's figure out what's missing.
     59Let's try and figure out what's missing.
     60
     61== Matching PSPS Detections to SMF Detections ==
     62
     63matchIppToPsps is another STILTS based perl script. It matches detections in two files. The first is the psps output. The second the concatenated smf detections
     64like we made above.
     65
     66
     67{{{
     68To find the matches use
     69
     70% matchIppToPsps o5745g0427o_356801.fit o5745g0427o.356801.cm.1218577.smf.tcat o5745g0427o.356801.joined.fit
     71
     72And to find the missing detections use
     73% matchIppToPsps o5745g0427o_356801.fit o5745g0427o.356801.cm.1218577.smf.tcat o5745g0427o.356801.missing.fit --join=2not1
     74
     75% ftlist o5745g0427o.356801.missing.fit h
     76
     77        Name               Type       Dimensions
     78        ----               ----       ----------
     79HDU 1   Primary Array      Image      Int1(3597)                   
     80HDU 2   Joined             BinTable    58 cols x 45 rows           
     81}}}
     82
     83
    5984
    6085The next step is to trace the detections in PSPS back to the DVO catalog.