IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2008, 2:19:02 PM (18 years ago)
Author:
eugene
Message:

substantial re-organization: moved FITS and REDUCTIION tables to recipes/fitstypes.mdc and recipes/reductionClasses.mdc; merged filerules for all cameras into one of three top-level file rules: recipes/filerules-simple.mdc; recipes/filerules-mef.mdc; recipes/filerules-split.mdc; removed astrometry from chip-level analysis

File:
1 edited

Legend:

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

    r16199 r17523  
    6565END
    6666
    67 FITS    METADATA
    68 # BITPIX is the bits per pixel for writing the output data
    69 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    70 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    71 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    72 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    73 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     67FITSTYPES       STR     recipes/fitstypes.mdc
    7468
    75 # BITPIX(S32) is the bits per pixel for writing the output data
    76 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    77 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    78 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    79 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    80 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    81 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    82 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    83 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    84 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    85 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    86 # FLOAT(STR) is the name of a custom floating-point type
    87 
    88         DET_IMAGE       METADATA
    89                 BITPIX          S32     -32
    90         END
    91         DET_MASK        METADATA
    92                 BITPIX          S32     8
    93         END
    94         DET_WEIGHT      METADATA
    95                 BITPIX          S32     -32
    96         END
    97 
    98         SKY_IMAGE       METADATA
    99                 BITPIX          S32     -32
    100         END
    101         SKY_MASK        METADATA
    102                 BITPIX          S32     8
    103         END
    104         SKY_WEIGHT      METADATA
    105                 BITPIX          S32     -32
    106         END
    107 
    108         COMPRESSED_POSITIVE     METADATA
    109                 BITPIX          S32     16
    110                 SCALING         STR     STDEV_POSITIVE
    111                 STDEV.BITS      S32     4
    112                 STDEV.NUM       F32     10
    113                 COMPRESSION     STR     RICE
    114                 TILE.X          S32     0
    115                 TILE.Y          S32     1
    116                 TILE.Z          S32     1
    117                 NOISE           S32     8
    118         END
    119         COMPRESSED_MASK         METADATA
    120                 COMPRESSION     STR     PLIO
    121                 TILE.X          S32     0
    122                 TILE.Y          S32     1
    123                 TILE.Z          S32     1
    124                 NOISE           S32     8
    125         END
    126         COMPRESSED_SUBTRACTION  METADATA
    127                 BITPIX          S32     16
    128                 SCALING         STR     STDEV_BOTH
    129                 STDEV.BITS      S32     4
    130                 STDEV.NUM       F32     5
    131                 COMPRESSION     STR     RICE
    132                 TILE.X          S32     0
    133                 TILE.Y          S32     1
    134                 TILE.Z          S32     1
    135                 NOISE           S32     8
    136         END
    137 
    138 END
    139 
    140 FILERULES METADATA
    141    ### Redirections
    142    PSASTRO.INPUT      STR PSASTRO.INPUT.CMP
    143    PSASTRO.OUTPUT     STR PSASTRO.OUTPUT.CMP
    144    PSPHOT.OUTPUT      STR PSPHOT.OUTPUT.CMF
    145    DVOCORR.OUTPUT     STR DVOCORR.MEF.OUTPUT
    146    DVOFLAT.OUTPUT     STR DVOFLAT.MEF.OUTPUT
    147 
    148    ### input file definitions
    149    TYPE               INPUT FILENAME.RULE                 DATA.LEVEL FILE.TYPE
    150    PPIMAGE.INPUT      INPUT @FILES                        CHIP       IMAGE
    151 
    152    ## can we just use PPIMAGE.INPUT as the pmFPAfile name?
    153    DVOCORR.INPUT      INPUT @FILES                        CHIP       IMAGE     
    154    DVOCORR.REFHEAD    INPUT @FILES                        CHIP       HEADER     
    155 
    156    DVOFLAT.INPUT      INPUT @FILES                        CHIP       IMAGE     
    157    DVOFLAT.CORR       INPUT @DETDB                        CHIP       IMAGE     
    158 
    159    ### use these entries to get the detrend images from the database
    160    PPIMAGE.MASK       INPUT @DETDB                        CHIP       IMAGE
    161    PPIMAGE.BIAS       INPUT @DETDB                        CHIP       IMAGE
    162    PPIMAGE.DARK       INPUT @DETDB                        CHIP       IMAGE
    163    PPIMAGE.FLAT       INPUT @DETDB                        CHIP       IMAGE
    164    PPIMAGE.FRINGE     INPUT @DETDB                        CHIP       FRINGE     
    165 
    166    PSPHOT.INPUT       INPUT @FILES                        CHIP       IMAGE     
    167    PSASTRO.INPUT.CMP  INPUT @FILES                        CHIP       CMP       
    168    PSASTRO.INPUT.CMF  INPUT @FILES                        CHIP       CMF       
    169 
    170 
    171    ### output file definitions
    172    TYPE                OUTPUT FILENAME.RULE                  FILE.TYPE FITS.TYPE DATA.LEVEL FILE.SAVE FILE.FORMAT
    173    PPIMAGE.OUTPUT      OUTPUT {OUTPUT}.{CHIP.NAME}.fits      IMAGE     NONE      CHIP       TRUE      NONE
    174    PPIMAGE.OUTPUT.MASK OUTPUT {OUTPUT}.{CHIP.NAME}.mask.fits MASK      NONE      CHIP       TRUE      NONE
    175    PPIMAGE.OUTPUT.WEIGHT OUTPUT {OUTPUT}.{CHIP.NAME}.wt.fits WEIGHT    NONE      CHIP       TRUE      NONE
    176    PPIMAGE.BIN1        OUTPUT {OUTPUT}.{CHIP.NAME}.b1.fits   IMAGE     NONE      CHIP       TRUE      NONE
    177    PPIMAGE.BIN2        OUTPUT {OUTPUT}.{CHIP.NAME}.b2.fits   IMAGE     NONE      CHIP       TRUE      NONE
    178    DVOCORR.MEF.OUTPUT  OUTPUT {OUTPUT}.fc.fits               IMAGE     NONE      CHIP       TRUE      NONE
    179    DVOCORR.SPL.OUTPUT  OUTPUT {OUTPUT}.{CHIP.NAME}.fc.fits   IMAGE     NONE      CHIP       TRUE      NONE
    180    DVOFLAT.MEF.OUTPUT  OUTPUT {OUTPUT}.co.fits               IMAGE     NONE      CHIP       TRUE      NONE
    181    DVOFLAT.SPL.OUTPUT  OUTPUT {OUTPUT}.{CHIP.NAME}.co.fits   IMAGE     NONE      CHIP       TRUE      NONE
    182 
    183    PPIMAGE.OUTPUT.CHIP OUTPUT {OUTPUT}.{CHIP.NAME}.chip.fits IMAGE     NONE      CHIP       TRUE      NONE
    184    PPIMAGE.OUTPUT.FPA1 OUTPUT {OUTPUT}.b1.fits               IMAGE     NONE      FPA        TRUE      NONE
    185    PPIMAGE.OUTPUT.FPA2 OUTPUT {OUTPUT}.b2.fits               IMAGE     NONE      FPA        TRUE      NONE
    186 
    187    PPIMAGE.JPEG1       OUTPUT {OUTPUT}.b1.jpg                JPEG      NONE      FPA        TRUE      NONE
    188    PPIMAGE.JPEG2       OUTPUT {OUTPUT}.b2.jpg                JPEG      NONE      FPA        TRUE      NONE
    189 
    190    PSPHOT.RESID        OUTPUT {OUTPUT}.res.fits              IMAGE     NONE      CHIP       TRUE      NONE
    191    PSPHOT.BACKGND      OUTPUT {OUTPUT}.bck.fits              IMAGE     NONE      CHIP       TRUE      NONE
    192    PSPHOT.BACKSUB      OUTPUT {OUTPUT}.sub.fits              IMAGE     NONE      CHIP       TRUE      NONE
    193    PSPHOT.BACKMDL      OUTPUT {OUTPUT}.mdl.fits              IMAGE     NONE      CHIP       TRUE      NONE
    194 
    195    PSPHOT.OUTPUT.RAW   OUTPUT {OUTPUT}.{CHIP.NAME}           RAW       NONE      CHIP       TRUE      NONE
    196    PSPHOT.OUTPUT.SX    OUTPUT {OUTPUT}.sx                    SX        NONE      CHIP       TRUE      NONE
    197    PSPHOT.OUTPUT.OBJ   OUTPUT {OUTPUT}.obj                   OBJ       NONE      CHIP       TRUE      NONE
    198    PSPHOT.OUTPUT.CMF   OUTPUT {OUTPUT}.cmf                   CMF       NONE      CHIP       TRUE      NONE
    199    PSPHOT.OUTPUT.CMP   OUTPUT {OUTPUT}.{CHIP.NAME}.cmp       CMP       NONE      CHIP       TRUE      NONE
    200 
    201    PSASTRO.OUTPUT.CMP  OUTPUT {OUTPUT}.{CHIP.NAME}.smp       CMP       NONE      CHIP       TRUE      NONE
    202 
    203    LOG.IMFILE            OUTPUT {OUTPUT}.{CHIP.NAME}.log     TEXT      NONE      CHIP       TRUE      NONE
    204    LOG.EXP               OUTPUT {OUTPUT}.log                 TEXT      NONE      FPA        TRUE      NONE
    205 END
     69FILERULES       STR     recipes/filerules-split.mdc
    20670
    20771BLANK.HEADERS   METADATA
Note: See TracChangeset for help on using the changeset viewer.