IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2007, 2:10:11 PM (19 years ago)
Author:
Paul Price
Message:

Changes to multiple packages in order to use "reduction classes" to
specify recipe names. The idea is to give a group of recipes a
symbolic name, which distinguish how the reduction is to be performed,
without going to all the trouble of changing the recipes themselves.

For example, we might want to turn off the usual
overscan/bias/dark/shutter/flat processing and only do photometry if
we have pre-processed data. Gene also wants a similar ability for
building the flat-field correction.

Added a REDUCTION metadata to the camera configuration that contains
multiple METADATA entries that have recipes for different processing
steps. PS::IPP::Config has a 'reduction' function to return the
appropriate recipe, and this is now used in the scripts. Updated
ippTasks to use these where appropriate.

This necessitated changing the database, so that the desired reduction
class can be specified in the right places. Instructions on converting
an extant database are in dbconfig/changes.txt.

Tested with the SIMTEST, and it works.

There is currently no way of specifying the reduction class when an
exposure proceeds from 'register' to 'chip' (it has to be hacked in
the database directly: "update chipPendingExp set reduction =
'SOME_CLASS' where ..."), but it can be specified when adding a
detrend run or queuing chips with 'chiptool -queue' (the '-reduction'
option). Also, the 'recipe' columns remain throughout the detrend
tables, and they continue to be populated with the actual recipe used
(rather than the reduction class; but that is contained in the
detRun).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/simtest/camera.config

    r13878 r13937  
    4545        PSASTRO         STR     simtest/psastro.config  # psastro details
    4646        REJECTIONS      STR     simtest/rejections.config # Rejection for detrend creation
     47END
     48
     49REDUCTION       METADATA
     50        # Detrend processing
     51        DETREND         METADATA
     52                BIAS_PROCESS    STR     PPIMAGE_O
     53                BIAS_RESID      STR     PPIMAGE_B
     54                BIAS_VERIFY     STR     PPIMAGE_OB
     55                BIAS_STACK      STR     PPMERGE_BIAS
     56                DARK_PROCESS    STR     PPIMAGE_OB
     57                DARK_RESID      STR     PPIMAGE_D
     58                DARK_VERIFY     STR     PPIMAGE_OBD
     59                DARK_STACK      STR     PPMERGE_DARK
     60                SHUTTER_PROCESS STR     PPIMAGE_OBD
     61                SHUTTER_RESID   STR     PPIMAGE_S
     62                SHUTTER_VERIFY  STR     PPIMAGE_OBDS
     63                SHUTTER_STACK   STR     PPMERGE_SHUTTER
     64                FLAT_PROCESS    STR     PPIMAGE_OBDS
     65                FLAT_RESID      STR     PPIMAGE_F
     66                FLAT_VERIFY     STR     PPIMAGE_OBDSF
     67                FLAT_STACK      STR     PPMERGE_FLAT
     68                FRINGE_PROCESS  STR     PPIMAGE_OBDSF
     69                FRINGE_RESID    STR     PPIMAGE_R
     70                FRINGE_VERIFY   STR     PPIMAGE_OBDSFR
     71                FRINGE_STACK    STR     PPMERGE_FRINGE
     72        END
     73        # Processing raw data
     74        DEFAULT         METADATA
     75                CHIP            STR     PPIMAGE_OBDSFRA
     76        END
     77        NO_PHOTOM       METADATA
     78                CHIP            STR     PPIMAGE_OBDSF
     79        END
     80        # Photometry and astrometry of data that's already processed
     81        PROCESSED       METADATA
     82                CHIP            STR     PPIMAGE_PA
     83        END
     84
    4785END
    4886
Note: See TracChangeset for help on using the changeset viewer.