IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2008, 5:15:40 PM (18 years ago)
Author:
Paul Price
Message:

Updating camera configurations to use the current formatting for the FITS file specifications. I don't think I've turned on any compression anywhere, so this should work without problems.

File:
1 edited

Legend:

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

    r15628 r16188  
    136136
    137137FITS    METADATA
    138 # FLOAT is the name of a custom floating-point scheme, or NONE
    139138# BITPIX is the bits per pixel for writing the output data
    140139# COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
     
    143142# HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    144143# HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    145         TYPE            FITS    FLOAT   BITPIX  COMP     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
    146         DET_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
    147         DET_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
    148         DET_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
    149         SKY_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
    150         SKY_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
    151         SKY_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
     144
     145# BITPIX(S32) is the bits per pixel for writing the output data
     146# COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
     147# TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
     148# NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
     149# HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
     150# HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     151# SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
     152# BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
     153# BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
     154# STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
     155# STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
     156# FLOAT(STR) is the name of a custom floating-point type
     157
     158        DET_IMAGE       METADATA
     159                BITPIX          S32     -32
     160        END
     161        DET_MASK        METADATA
     162                BITPIX          S32     8
     163        END
     164        DET_WEIGHT      METADATA
     165                BITPIX          S32     -32
     166        END
     167
     168        SKY_IMAGE       METADATA
     169                BITPIX          S32     -32
     170        END
     171        SKY_MASK        METADATA
     172                BITPIX          S32     8
     173        END
     174        SKY_WEIGHT      METADATA
     175                BITPIX          S32     -32
     176        END
     177
     178        COMPRESSED_POSITIVE     METADATA
     179                BITPIX          S32     16
     180                SCALING         STR     SIGMA_POSITIVE
     181                SIGMA.BITS      S32     4
     182                SIGMA.NUM       F32     10
     183                COMPRESSSION    STR     RICE
     184                TILE.X          S32     0
     185                TILE.Y          S32     1
     186                TILE.Z          S32     1
     187        END
     188        COMPRESSED_MASK         METADATA
     189                COMPRESSION     STR     PLIO
     190                TILE.X          S32     0
     191                TILE.Y          S32     1
     192                TILE.Z          S32     1
     193        END
     194        COMPRESSED_SUBTRACTION  METADATA
     195                BITPIX          S32     16
     196                SCALING         STR     SIGMA_BOTH
     197                SIGMA.BITS      S32     4
     198                SIGMA.NUM       F32     5
     199                COMPRESSION     STR     RICE
     200                TILE.X          S32     0
     201                TILE.Y          S32     1
     202                TILE.Z          S32     1
     203        END
     204
    152205END
    153206
Note: See TracChangeset for help on using the changeset viewer.