IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of 3pi.pv1.calibrationextraction


Ignore:
Timestamp:
Aug 9, 2013, 10:53:59 AM (13 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 3pi.pv1.calibrationextraction

    v2 v3  
    33The IPP now contains tables for tracking the data is contained in each "release" of IPP data.
    44This process is described [wiki:ippReleaseManagement here]
     5
     6This system includes a place to record the results of the photometric calibration for individual
     7exposures in the GPC1 database. This is used by the IPP postage stamp server to find these
     8data for inclusion in the fits headers for single frame images.
     9
     10The process for updating the database includes a few manual steps that are described in this note.
     11
     12== DVO calibration ==
     13The release is calibrated using the DVO programs setphot, relphot, and relastro.
     14
     15 * setphot takes the zero points and flat field corrections measured in the ubercal process and updates the DVO Images table.
     16 * relphot does the photometric calibration
     17 * relastro performs the astrometric calibration
     18
     19Once this is is done all of the exposure level calibration is saved in the DVO fits table Images.dat. For single frame
     20images there is one entry for each chip. Up to 60 per exposure. The exposure level zero points are saved in all of the
     21chips for a given exposure.
     22
     23For 3PI.PV1 the DVO used for calibration was LAP.ThreePi.20120706.v2. The data was extracted on 2013-07-31 using ftlist into the files in
     24/data/ippc30.1/bills/3pi.pv1.calibration. The scripts used have been saved in the ipp trunk in the directory releasecalib/scripts.
     25
     26{{{
     27ftlist columns=NAME,MCAL,DMCAL,SECZ,EXPTIME,TZERO,PHOTCO,FLAGS,UBERCAL_DIST /data/ipp060.0/gpc1/catdir/LAP.ThreePi.20120706.v2/Images.working.dat T > Images.working.txt
     28}}}
     29
     30The resulting file has a row for each image. The extractinfo was used to skip stacks and select a single row for each exposure. The row used was the first one
     31found with flags & 0x62 XXX list flags, if any. If no images had zero values for these flags the last image was used. (Subsequently it was verified that all rows
     32have the same values for the paramters except for FLAGS).
     33
     34
     35{{{
     36perl extractinfo < Images.working.txt > 3pi.pv1.calibration.txt
     37}}}
     38
     39The output file contained 1 row for each exposure with the follwoing columns
     40{{{
     41exp_name     exp_id  cam_id    zpcalib      zpcalerr        mcal     filter     flags   ubercal_dist
     42}}}
     43
     44Finally these data were saved in the gpc1 database using
     45
     46{{{
     47perl updatecalib 3pi.pv1.calibration.txt >& updatecalib.log
     48}}}
     49
     50Exposure Counts for 3PI.PV1 (relExp.rel_id = 2)
     51
     52{{{
     53Total Rows          224597
     54Calibrated          211793
     55
     56Not Calibrated       12804
     57Towards Pole          3492
     58Galactic Center       8250
     59
     60}}}
     61