IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2008, 11:11:16 AM (18 years ago)
Author:
eugene
Message:

replace FITS types tables with common recipe file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080408/ippconfig/megacam/camera.config

    r17479 r17486  
    125125REDUCTION       STR     recipes/reductionClasses.mdc
    126126
    127 FITS    METADATA
    128 # BITPIX is the bits per pixel for writing the output data
    129 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    130 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    131 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    132 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    133 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    134 
    135 # BITPIX(S32) is the bits per pixel for writing the output data
    136 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    137 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    138 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    139 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    140 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    141 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    142 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    143 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    144 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    145 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    146 # FLOAT(STR) is the name of a custom floating-point type
    147 
    148         DET_IMAGE       METADATA
    149                 BITPIX          S32     -32
    150         END
    151         DET_MASK        METADATA
    152                 BITPIX          S32     8
    153         END
    154         DET_WEIGHT      METADATA
    155                 BITPIX          S32     -32
    156         END
    157 
    158         SKY_IMAGE       METADATA
    159                 BITPIX          S32     -32
    160         END
    161         SKY_MASK        METADATA
    162                 BITPIX          S32     8
    163         END
    164         SKY_WEIGHT      METADATA
    165                 BITPIX          S32     -32
    166         END
    167 
    168         # Compressed positive image
    169         COMP_IMG        METADATA
    170                 BITPIX          S32     16
    171                 SCALING         STR     STDEV_POSITIVE
    172                 STDEV.BITS      S32     4
    173                 STDEV.NUM       F32     10
    174                 COMPRESSION     STR     RICE
    175                 TILE.X          S32     0
    176                 TILE.Y          S32     1
    177                 TILE.Z          S32     1
    178                 NOISE           S32     8
    179         END
    180         # Compressed mask
    181         COMP_MASK       METADATA
    182                 BITPIX          S32     8
    183                 COMPRESSION     STR     PLIO
    184                 TILE.X          S32     0
    185                 TILE.Y          S32     1
    186                 TILE.Z          S32     1
    187                 NOISE           S32     8
    188         END
    189         # Compressed weight image
    190         COMP_WT         METADATA
    191                 BITPIX          S32     16
    192                 SCALING         STR     STDEV_POSITIVE
    193                 STDEV.BITS      S32     4
    194                 STDEV.NUM       F32     10
    195                 COMPRESSION     STR     RICE
    196                 TILE.X          S32     0
    197                 TILE.Y          S32     1
    198                 TILE.Z          S32     1
    199                 NOISE           S32     8
    200         END
    201         # Compressed subtraction image
    202         COMP_SUB        METADATA
    203                 BITPIX          S32     16
    204                 SCALING         STR     STDEV_BOTH
    205                 STDEV.BITS      S32     4
    206                 STDEV.NUM       F32     5
    207                 COMPRESSION     STR     RICE
    208                 TILE.X          S32     0
    209                 TILE.Y          S32     1
    210                 TILE.Z          S32     1
    211                 NOISE           S32     8
    212         END
    213 
    214 END
     127FITSTYPES       STR     recipes/fitstypes.mdc
    215128
    216129FILERULES       STR     recipes/filerules-mef.mdc               # File rules appropriate for MEF format
Note: See TracChangeset for help on using the changeset viewer.