IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11863


Ignore:
Timestamp:
Feb 16, 2007, 3:17:50 PM (19 years ago)
Author:
eugene
Message:

added possible steps for the detrend correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ipptools/dettool.txt

    r9823 r11863  
    371371to detselect.
    372372
     373
     374--------------------------------------------------------------------------------
     375
     376Detrend Correction analysis (for flat-field corrections)
     377
     378To build a correction, we need to initial a p2/p3 analysis on a
     379collection of images, supplying information so the analysis tools know
     380to use the appropriate recipe (ie, which specifies that, for
     381flat-field analysis, ppImage should use the 'RAW' version of a flat). 
     382
     383possible p2tool lines:
     384
     385  p2tool -queuerawexp [constraints] -set_label DVOCORR
     386
     387  p2tool -queuerawexp [constraints] -recipe DVOCORR -set_label DVOCORR.megacam.0001
     388
     389* should we tie the output DVO database to the recipe?
     390* should we require the output DVO database as a db value?
     391
     392We need to wait until all of the selected images have been processed
     393before we trigger the DVO analysis.  this could be done by blocking
     394until all exposures with the specified label have successfully (or
     395perhaps unsuccessfully) finished p3.
     396
     397* do we need to define a table which track these dvo_correction
     398  'runs'?
     399
     400--------------------------------------------------------------------------------
     401
     402Detrend Correction application (for flat-field corrections)
     403
     404Assuming there is already a flat-field correction in the db for a
     405given camera and filter, we need to (optionally) apply the correction
     406to flat-field images as they are built by the detrend creation system.
     407
     408The first step is to select a flat-field image which requires a
     409flat-field correction:
     410
     411  dettool -tocorrectrun -det_type skyflat.raw
     412
     413returns a list of detrun ids and iterations which have valid masters
     414and for which there are no children.
     415
     416  detselect -select -det_id det_id -iteration iter
     417
     418returns a list of imfiles to be corrected
     419
     420  dettool -register_detrend -parent det_id
     421
     422  dettool -register_detrend_imfile -parent det_id etc
     423
     424inserts the completed imfiles
     425
Note: See TracChangeset for help on using the changeset viewer.