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/ucam/camera.config

    r16199 r17523  
    4646END
    4747
    48 FITS    METADATA
    49 # BITPIX is the bits per pixel for writing the output data
    50 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    51 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    52 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    53 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    54 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     48FITSTYPES       STR     recipes/fitstypes.mdc
    5549
    56 # BITPIX(S32) is the bits per pixel for writing the output data
    57 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    58 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    59 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    60 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    61 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    62 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    63 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    64 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    65 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    66 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    67 # FLOAT(STR) is the name of a custom floating-point type
    68 
    69         DET_IMAGE       METADATA
    70                 BITPIX          S32     -32
    71         END
    72         DET_MASK        METADATA
    73                 BITPIX          S32     8
    74         END
    75         DET_WEIGHT      METADATA
    76                 BITPIX          S32     -32
    77         END
    78 
    79         SKY_IMAGE       METADATA
    80                 BITPIX          S32     -32
    81         END
    82         SKY_MASK        METADATA
    83                 BITPIX          S32     8
    84         END
    85         SKY_WEIGHT      METADATA
    86                 BITPIX          S32     -32
    87         END
    88 
    89         COMPRESSED_POSITIVE     METADATA
    90                 BITPIX          S32     16
    91                 SCALING         STR     STDEV_POSITIVE
    92                 STDEV.BITS      S32     4
    93                 STDEV.NUM       F32     10
    94                 COMPRESSION     STR     RICE
    95                 TILE.X          S32     0
    96                 TILE.Y          S32     1
    97                 TILE.Z          S32     1
    98                 NOISE           S32     8
    99         END
    100         COMPRESSED_MASK         METADATA
    101                 COMPRESSION     STR     PLIO
    102                 TILE.X          S32     0
    103                 TILE.Y          S32     1
    104                 TILE.Z          S32     1
    105                 NOISE           S32     8
    106         END
    107         COMPRESSED_SUBTRACTION  METADATA
    108                 BITPIX          S32     16
    109                 SCALING         STR     STDEV_BOTH
    110                 STDEV.BITS      S32     4
    111                 STDEV.NUM       F32     5
    112                 COMPRESSION     STR     RICE
    113                 TILE.X          S32     0
    114                 TILE.Y          S32     1
    115                 TILE.Z          S32     1
    116                 NOISE           S32     8
    117         END
    118 
    119 END
    120 
    121 FILERULES METADATA
    122    PPIMAGE.OUTPUT     STR PPIMAGE.OUTPUT
    123    PPIMAGE.BIN1       STR PPIMAGE.BIN1.OUTPUT
    124    PPIMAGE.BIN2       STR PPIMAGE.BIN2.OUTPUT
    125    PPIMAGE.JPEG1      STR PPIMAGE.JPEG1.OUTPUT
    126    PPIMAGE.JPEG2      STR PPIMAGE.JPEG2.OUTPUT
    127 
    128    PSASTRO.INPUT      STR PSASTRO.INPUT.CMP
    129    PSASTRO.OUTPUT     STR PSASTRO.OUTPUT.CMP
    130    PSPHOT.OUTPUT      STR PSPHOT.OUTPUT.CMF
    131 
    132    ### input file definitions
    133    TYPE               INPUT FILENAME.RULE                 DATA.LEVEL FILE.TYPE
    134    PPIMAGE.INPUT      INPUT @FILES                        CHIP       IMAGE
    135    PPARITH.INPUT      INPUT @FILES                        CHIP       IMAGE
    136 
    137    ### use these entries to get the detrend images from specific files
    138    PPIMAGE.MASK       INPUT mask.fits                     CHIP       IMAGE
    139    PPIMAGE.BIAS       INPUT bias.fit                      CHIP       IMAGE     
    140    PPIMAGE.DARK       INPUT dark.fits                     CHIP       IMAGE     
    141    PPIMAGE.FLAT       INPUT flat.fits                     CHIP       IMAGE     
    142 
    143    ### use these entries to get the detrend images from the database
    144    #PPIMAGE.MASK       INPUT @DETDB                       CHIP       IMAGE     
    145    #PPIMAGE.BIAS       INPUT @DETDB                       CHIP       IMAGE     
    146    #PPIMAGE.DARK       INPUT @DETDB                       CHIP       IMAGE     
    147    #PPIMAGE.FLAT       INPUT @DETDB                       CHIP       IMAGE     
    148 
    149    PSPHOT.INPUT       INPUT @FILES                        CHIP       IMAGE     
    150 
    151    PSASTRO.INPUT.CMP  INPUT @FILES                        CHIP       CMP       
    152    PSASTRO.INPUT.CMF  INPUT @FILES                        CHIP       CMF       
    153 
    154    ### output file definitions
    155    TYPE                OUTPUT FILENAME.RULE            FILE.TYPE FITS.TYPE DATA.LEVEL FILE.SAVE FILE.FORMAT
    156    PPIMAGE.OUTPUT      OUTPUT     {OUTPUT}.fit         IMAGE     NONE      CHIP       TRUE      NONE
    157    PPIMAGE.OUTPUT.CHIP OUTPUT     {OUTPUT}.chip.fit    IMAGE     NONE      FPA        TRUE      NONE
    158    PPIMAGE.OUTPUT.FPA1 OUTPUT     {OUTPUT}.fpa1.fit    IMAGE     NONE      FPA        TRUE      NONE
    159    PPIMAGE.OUTPUT.FPA2 OUTPUT     {OUTPUT}.fpa2.fit    IMAGE     NONE      FPA        TRUE      NONE
    160 
    161    PPIMAGE.BIN1.OUTPUT OUTPUT {OUTPUT}.b1.fit          IMAGE     NONE      FPA        TRUE      NONE
    162    PPIMAGE.BIN2.OUTPUT OUTPUT {OUTPUT}.b2.fit          IMAGE     NONE      FPA        TRUE      NONE
    163    PPIMAGE.JPEG1.OUTPUT OUTPUT {OUTPUT}.b1.jpg         JPEG      NONE      FPA        TRUE      NONE
    164    PPIMAGE.JPEG2.OUTPUT OUTPUT {OUTPUT}.b2.jpg         JPEG      NONE      FPA        TRUE      NONE
    165 
    166    PSPHOT.RESID        OUTPUT {OUTPUT}.res.fits        IMAGE     NONE      CHIP       TRUE      RAW
    167    PSPHOT.BACKGND      OUTPUT {OUTPUT}.bck.fits        IMAGE     NONE      CHIP       TRUE      RAW
    168    PSPHOT.BACKSUB      OUTPUT {OUTPUT}.sub.fits        IMAGE     NONE      CHIP       TRUE      RAW
    169    PSPHOT.BACKMDL      OUTPUT {OUTPUT}.mdl.fits        IMAGE     NONE      CHIP       TRUE      RAW
    170 
    171    PSPHOT.OUTPUT.RAW   OUTPUT {OUTPUT}.{CHIP.NAME}     RAW       NONE      CHIP       TRUE      NONE
    172    PSPHOT.OUTPUT.SX    OUTPUT {OUTPUT}.sx              SX        NONE      CHIP       TRUE      NONE
    173    PSPHOT.OUTPUT.OBJ   OUTPUT {OUTPUT}.obj             OBJ       NONE      CHIP       TRUE      NONE
    174    PSPHOT.OUTPUT.CMF   OUTPUT {OUTPUT}.cmf             CMF       NONE      CHIP       TRUE      NONE
    175    PSPHOT.OUTPUT.CMP   OUTPUT {OUTPUT}.{CHIP.NAME}.cmp CMP       NONE      CHIP       TRUE      NONE
    176 
    177    PSASTRO.OUTPUT.CMP  OUTPUT {OUTPUT}.{CHIP.NAME}.smp CMP       NONE      CHIP       TRUE      NONE
    178 
    179    LOG.IMFILE            OUTPUT {OUTPUT}.{CHIP.NAME}.log TEXT    NONE      CHIP       TRUE      NONE
    180    LOG.EXP               OUTPUT {OUTPUT}.log           TEXT      NONE      FPA        TRUE      NONE
    181 END
     50FILERULES       STR     recipes/filerules-simple.mdc
Note: See TracChangeset for help on using the changeset viewer.