IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15628


Ignore:
Timestamp:
Nov 15, 2007, 2:59:39 PM (18 years ago)
Author:
Paul Price
Message:

Adding FLOAT field to FITS(METADATA) to specify type of custom floating-point.

Location:
trunk/ippconfig
Files:
2 edited

Legend:

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

    r15616 r15628  
    212212FITS    METADATA
    213213# BITPIX is the bits per pixel for writing the output data
    214 # COMPRESSION = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
     214# COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    215215# TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    216216# NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    217217# HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    218218# HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    219         TYPE            FITS    BITPIX  COMPRESSION     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
    220         DET_IMAGE       FITS    -32     RICE            0       1       1       16      0       0
    221         DET_MASK        FITS    8       PLIO            0       1       1       0       0       0
    222         DET_WEIGHT      FITS    -32     RICE            0       1       1       16      0       0
    223         SKY_IMAGE       FITS    -32     RICE            0       1       1       16      0       0
    224         SKY_MASK        FITS    8       PLIO            0       1       1       0       0       0
    225         SKY_WEIGHT      FITS    -32     RICE            0       1       1       16      0       0
     219        TYPE            FITS    FLOAT   BITPIX  COMP     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
     220        DET_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
     221        DET_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
     222        DET_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
     223        SKY_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
     224        SKY_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
     225        SKY_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
    226226END
    227227
  • trunk/ippconfig/simtest/camera.config

    r15616 r15628  
    136136
    137137FITS    METADATA
     138# FLOAT is the name of a custom floating-point scheme, or NONE
    138139# BITPIX is the bits per pixel for writing the output data
    139 # COMPRESSION = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
     140# COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    140141# TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    141142# NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    142143# HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    143144# HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    144         TYPE            FITS    BITPIX  COMPRESSION     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
    145         DET_IMAGE       FITS    -32     RICE            0       1       1       16      0       0
    146         DET_MASK        FITS    8       PLIO            0       1       1       0       0       0
    147         DET_WEIGHT      FITS    -32     RICE            0       1       1       16      0       0
    148         SKY_IMAGE       FITS    -32     RICE            0       1       1       16      0       0
    149         SKY_MASK        FITS    8       PLIO            0       1       1       0       0       0
    150         SKY_WEIGHT      FITS    -32     RICE            0       1       1       16      0       0
     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
    151152END
    152153
Note: See TracChangeset for help on using the changeset viewer.