IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17486


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

replace FITS types tables with common recipe file

Location:
branches/eam_branch_20080408/ippconfig
Files:
17 edited

Legend:

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

    r17482 r17486  
    111111REDUCTION       STR     recipes/reductionClasses.mdc
    112112
    113 FITS            STR     recipes/fitstypes.mdc
     113FITSTYPES       STR     recipes/fitstypes.mdc
    114114
    115115FILERULES       STR     recipes/filerules-mef.mdc               # File rules appropriate for MEF format
  • branches/eam_branch_20080408/ippconfig/esowfi/camera.config

    r17479 r17486  
    6969REDUCTION       STR     recipes/reductionClasses.mdc
    7070
    71 FITS    METADATA
    72 # BITPIX is the bits per pixel for writing the output data
    73 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    74 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    75 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    76 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    77 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    78 
    79 # BITPIX(S32) is the bits per pixel for writing the output data
    80 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    81 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    82 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    83 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    84 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    85 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    86 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    87 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    88 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    89 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    90 # FLOAT(STR) is the name of a custom floating-point type
    91 
    92         DET_IMAGE       METADATA
    93                 BITPIX          S32     -32
    94         END
    95         DET_MASK        METADATA
    96                 BITPIX          S32     8
    97         END
    98         DET_WEIGHT      METADATA
    99                 BITPIX          S32     -32
    100         END
    101 
    102         SKY_IMAGE       METADATA
    103                 BITPIX          S32     -32
    104         END
    105         SKY_MASK        METADATA
    106                 BITPIX          S32     8
    107         END
    108         SKY_WEIGHT      METADATA
    109                 BITPIX          S32     -32
    110         END
    111 
    112         COMPRESSED_POSITIVE     METADATA
    113                 BITPIX          S32     16
    114                 SCALING         STR     STDEV_POSITIVE
    115                 STDEV.BITS      S32     4
    116                 STDEV.NUM       F32     10
    117                 COMPRESSION     STR     RICE
    118                 TILE.X          S32     0
    119                 TILE.Y          S32     1
    120                 TILE.Z          S32     1
    121                 NOISE           S32     8
    122         END
    123         COMPRESSED_MASK         METADATA
    124                 COMPRESSION     STR     PLIO
    125                 TILE.X          S32     0
    126                 TILE.Y          S32     1
    127                 TILE.Z          S32     1
    128                 NOISE           S32     8
    129         END
    130         COMPRESSED_SUBTRACTION  METADATA
    131                 BITPIX          S32     16
    132                 SCALING         STR     STDEV_BOTH
    133                 STDEV.BITS      S32     4
    134                 STDEV.NUM       F32     5
    135                 COMPRESSION     STR     RICE
    136                 TILE.X          S32     0
    137                 TILE.Y          S32     1
    138                 TILE.Z          S32     1
    139                 NOISE           S32     8
    140         END
    141 
    142 END
     71FITSTYPES       STR     recipes/fitstypes.mdc
    14372
    14473FILERULES       STR     recipes/filerules-mef.mdc               # File rules appropriate for MEF format
  • branches/eam_branch_20080408/ippconfig/gpc1/camera.config

    r17482 r17486  
    103103REDUCTION       STR     recipes/reductionClasses.mdc
    104104
    105 FITS            STR     recipes/fitstypes.mdc
     105FITSTYPES       STR     recipes/fitstypes.mdc
    106106
    107107FILERULES       STR     recipes/filerules-split.mdc
  • branches/eam_branch_20080408/ippconfig/isp/camera.config

    r17482 r17486  
    5353REDUCTION       STR     recipes/reductionClasses.mdc
    5454
    55 FITS            STR     recipes/fitstypes.mdc
     55FITSTYPES       STR     recipes/fitstypes.mdc
    5656
    5757FILERULES       STR     recipes/filerules-simple.mdc
  • branches/eam_branch_20080408/ippconfig/lbc_red/camera.config

    r17479 r17486  
    5353REDUCTION       STR     recipes/reductionClasses.mdc
    5454
    55 FITS    METADATA
    56 # BITPIX is the bits per pixel for writing the output data
    57 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    58 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    59 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    60 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    61 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    62         TYPE            FITS    FLOAT   BITPIX  COMP     TILE.X  TILE.Y  TILE.Z  NOISE   HSCALE  HSMOOTH
    63         DET_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
    64         DET_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
    65         DET_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
    66         SKY_IMAGE       FITS    NONE    -32     RICE     0       1       1       16      0       0
    67         SKY_MASK        FITS    NONE    8       PLIO     0       1       1       0       0       0
    68         SKY_WEIGHT      FITS    NONE    -32     RICE     0       1       1       16      0       0
    69 END
     55FITSTYPES       STR     recipes/fitstypes.mdc
    7056
    7157FILERULES       STR     lbc_red/filerules.mdc   # File rules
  • branches/eam_branch_20080408/ippconfig/mcshort/camera.config

    r16199 r17486  
    9696
    9797
    98 FITS    METADATA
    99 # BITPIX is the bits per pixel for writing the output data
    100 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    101 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    102 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    103 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    104 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     98# reduction classes (recipes which are grouped together)
     99REDUCTION       STR     recipes/reductionClasses.mdc
    105100
    106 # BITPIX(S32) is the bits per pixel for writing the output data
    107 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    108 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    109 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    110 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    111 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    112 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    113 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    114 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    115 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    116 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    117 # FLOAT(STR) is the name of a custom floating-point type
     101FITSTYPES       STR     recipes/fitstypes.mdc
     102FILERULES       STR     recipes/filerules-mef.mdc
    118103
    119         DET_IMAGE       METADATA
    120                 BITPIX          S32     -32
    121         END
    122         DET_MASK        METADATA
    123                 BITPIX          S32     8
    124         END
    125         DET_WEIGHT      METADATA
    126                 BITPIX          S32     -32
    127         END
    128 
    129         SKY_IMAGE       METADATA
    130                 BITPIX          S32     -32
    131         END
    132         SKY_MASK        METADATA
    133                 BITPIX          S32     8
    134         END
    135         SKY_WEIGHT      METADATA
    136                 BITPIX          S32     -32
    137         END
    138 
    139         COMPRESSED_POSITIVE     METADATA
    140                 BITPIX          S32     16
    141                 SCALING         STR     STDEV_POSITIVE
    142                 STDEV.BITS      S32     4
    143                 STDEV.NUM       F32     10
    144                 COMPRESSION     STR     RICE
    145                 TILE.X          S32     0
    146                 TILE.Y          S32     1
    147                 TILE.Z          S32     1
    148                 NOISE           S32     8
    149         END
    150         COMPRESSED_MASK         METADATA
    151                 COMPRESSION     STR     PLIO
    152                 TILE.X          S32     0
    153                 TILE.Y          S32     1
    154                 TILE.Z          S32     1
    155                 NOISE           S32     8
    156         END
    157         COMPRESSED_SUBTRACTION  METADATA
    158                 BITPIX          S32     16
    159                 SCALING         STR     STDEV_BOTH
    160                 STDEV.BITS      S32     4
    161                 STDEV.NUM       F32     5
    162                 COMPRESSION     STR     RICE
    163                 TILE.X          S32     0
    164                 TILE.Y          S32     1
    165                 TILE.Z          S32     1
    166                 NOISE           S32     8
    167         END
    168 
    169 END
    170 
    171 FILERULES METADATA
    172    ### Redirections
    173    PSASTRO.INPUT      STR PSASTRO.INPUT.CMP
    174    PSASTRO.OUTPUT     STR PSASTRO.OUTPUT.CMP
    175    PSPHOT.OUTPUT      STR PSPHOT.OUTPUT.CMF
    176 
    177    ### input file definitions
    178    TYPE               INPUT FILENAME.RULE                 DATA.LEVEL FILE.TYPE
    179    PPIMAGE.INPUT      INPUT @FILES                        CHIP       IMAGE
    180 
    181    ### use these entries to get the detrend images from specific files
    182    PPIMAGE.MASK       INPUT mcshort/mask.{CHIP.NAME}.fits                            CHIP       MASK
    183    PPIMAGE.BIAS       INPUT path://somewhere/MCSHORT.bias.norm.1.2.{CHIP.NAME}.fits  CHIP       IMAGE
    184    PPIMAGE.DARK       INPUT path://somewhere/MCSHORT.dark.norm.2.1.{CHIP.NAME}.fits  CHIP       IMAGE
    185    PPIMAGE.FLAT       INPUT path://somewhere/MCSHORT.flat.norm.3.1.{CHIP.NAME}.fits  CHIP       IMAGE
    186    PPIMAGE.FRINGE     INPUT path://somewhere/fringe.fits                             CHIP       FRINGE
    187 
    188    ### use these entries to get the detrend images from the database
    189    #PPIMAGE.MASK       INPUT @DETDB                       CHIP       IMAGE
    190    #PPIMAGE.BIAS       INPUT @DETDB                       CHIP       IMAGE
    191    #PPIMAGE.DARK       INPUT @DETDB                       CHIP       IMAGE
    192    #PPIMAGE.FLAT       INPUT @DETDB                       CHIP       IMAGE
    193 
    194    PSPHOT.INPUT        INPUT @FILES                       CHIP       IMAGE
    195 
    196    PSASTRO.INPUT.CMP   INPUT @FILES                       CHIP       CMP
    197    PSASTRO.INPUT.CMF   INPUT @FILES                       CHIP       CMF
    198 
    199    ### output file definitions
    200    TYPE                OUTPUT FILENAME.RULE                  DATA.LEVEL FILE.TYPE FILE.SAVE FILE.FORMAT
    201 #   PPIMAGE.OUTPUT      OUTPUT {OUTPUT}.{CHIP.NAME}.fits     CHIP       IMAGE     TRUE      NONE
    202    PPIMAGE.OUTPUT      OUTPUT {OUTPUT}.fits                  CHIP       IMAGE     TRUE      SPLICED
    203    PPIMAGE.OUTPUT.MASK OUTPUT {OUTPUT}.{CHIP.NAME}.mask.fits CHIP       MASK      FALSE     NONE
    204    PPIMAGE.OUTPUT.WEIGHT OUTPUT {OUTPUT}.{CHIP.NAME}.wt.fits CHIP       WEIGHT    FALSE     NONE
    205    PPIMAGE.BIN1        OUTPUT {OUTPUT}.{CHIP.NAME}.b1.fits   CHIP       IMAGE     TRUE      NONE
    206    PPIMAGE.BIN2        OUTPUT {OUTPUT}.{CHIP.NAME}.b2.fits   CHIP       IMAGE     TRUE      NONE
    207 
    208    PPIMAGE.OUTPUT.CHIP OUTPUT {OUTPUT}.{CHIP.NAME}.chip.fits CHIP       IMAGE     TRUE      NONE
    209    PPIMAGE.OUTPUT.FPA1 OUTPUT {OUTPUT}.b1.fits               FPA        IMAGE     TRUE      NONE
    210    PPIMAGE.OUTPUT.FPA2 OUTPUT {OUTPUT}.b2.fits               FPA        IMAGE     TRUE      NONE
    211 
    212    PPIMAGE.JPEG1       OUTPUT {OUTPUT}.b1.jpg                FPA        JPEG      TRUE      NONE
    213    PPIMAGE.JPEG2       OUTPUT {OUTPUT}.b2.jpg                FPA        JPEG      TRUE      NONE
    214 
    215    PSPHOT.RESID        OUTPUT {OUTPUT}.res.fits              CHIP       IMAGE     TRUE      SPLICED
    216    PSPHOT.BACKGND      OUTPUT {OUTPUT}.bck.fits              CHIP       IMAGE     TRUE      SPLICED
    217    PSPHOT.BACKSUB      OUTPUT {OUTPUT}.sub.fits              CHIP       IMAGE     TRUE      SPLICED
    218    PSPHOT.BACKMDL      OUTPUT {OUTPUT}.mdl.fits              CHIP       IMAGE     TRUE      SPLICED
    219 
    220    PSPHOT.OUTPUT.RAW   OUTPUT {OUTPUT}.{CHIP.NAME}           CHIP       RAW       TRUE      NONE
    221    PSPHOT.OUTPUT.SX    OUTPUT {OUTPUT}.sx                    CHIP       SX        TRUE      NONE
    222    PSPHOT.OUTPUT.OBJ   OUTPUT {OUTPUT}.obj                   CHIP       OBJ       TRUE      NONE
    223    PSPHOT.OUTPUT.CMF   OUTPUT {OUTPUT}.cmf                   CHIP       CMF       TRUE      NONE
    224    PSPHOT.OUTPUT.CMP   OUTPUT {OUTPUT}.{CHIP.NAME}.cmp       CHIP       CMP       TRUE      NONE
    225 
    226    PSASTRO.OUTPUT.CMP  OUTPUT {OUTPUT}.{CHIP.NAME}.smp       CHIP       CMP       TRUE      NONE
    227 
    228 END
  • 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
  • branches/eam_branch_20080408/ippconfig/mosaic2/camera.config

    r17479 r17486  
    7878REDUCTION       STR     recipes/reductionClasses.mdc
    7979
    80 FITS    METADATA
    81 # BITPIX(S32) is the bits per pixel for writing the output data
    82 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    83 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    84 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    85 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    86 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    87 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    88 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    89 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    90 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    91 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    92 # FLOAT(STR) is the name of a custom floating-point type
    93 
    94         DET_IMAGE       METADATA
    95                 BITPIX          S32     -32
    96         END
    97         DET_MASK        METADATA
    98                 BITPIX          S32     8
    99         END
    100         DET_WEIGHT      METADATA
    101                 BITPIX          S32     -32
    102         END
    103 
    104         SKY_IMAGE       METADATA
    105                 BITPIX          S32     -32
    106         END
    107         SKY_MASK        METADATA
    108                 BITPIX          S32     8
    109         END
    110         SKY_WEIGHT      METADATA
    111                 BITPIX          S32     -32
    112         END
    113 
    114         # Compressed positive image
    115         COMP_IMG        METADATA
    116                BITPIX          S32     16
    117                SCALING         STR     STDEV_POSITIVE
    118                STDEV.BITS      S32     4
    119                STDEV.NUM       F32     10
    120                COMPRESSION     STR     RICE
    121                TILE.X          S32     0
    122                TILE.Y          S32     1
    123                TILE.Z          S32     1
    124                NOISE           S32     8
    125         END
    126         # Compressed mask
    127         COMP_MASK       METADATA
    128                BITPIX          S32     8
    129                COMPRESSION     STR     PLIO
    130                TILE.X          S32     0
    131                TILE.Y          S32     1
    132                TILE.Z          S32     1
    133                NOISE           S32     8
    134         END
    135         # Compressed weight image
    136         COMP_WT         METADATA
    137                BITPIX          S32     16
    138                SCALING         STR     STDEV_POSITIVE
    139                STDEV.BITS      S32     4
    140                STDEV.NUM       F32     10
    141                COMPRESSION     STR     RICE
    142                TILE.X          S32     0
    143                TILE.Y          S32     1
    144                TILE.Z          S32     1
    145                NOISE           S32     8
    146         END
    147         # Compressed subtraction image
    148         COMP_SUB        METADATA
    149                BITPIX          S32     16
    150                SCALING         STR     STDEV_BOTH
    151                STDEV.BITS      S32     4
    152                STDEV.NUM       F32     5
    153                COMPRESSION     STR     RICE
    154                TILE.X          S32     0
    155                TILE.Y          S32     1
    156                TILE.Z          S32     1
    157                NOISE           S32     8
    158         END
    159 
    160 END
     80FITSTYPES       STR     recipes/fitstypes.mdc
    16181
    16282# Set file rules appropriate for mef format (common to all mef cameras)
  • branches/eam_branch_20080408/ippconfig/recipes/ppImage.config

    r17101 r17486  
    483483  BIN2.FITS        BOOL    TRUE            # Save 2nd binned chip image?
    484484  PHOTOM           BOOL    TRUE            # Source identification and photometry
    485   ASTROM.CHIP      BOOL    TRUE            # Astrometry per chip?
     485  ASTROM.CHIP      BOOL    FALSE           # Astrometry per chip?
    486486  ASTROM.MOSAIC    BOOL    FALSE           # Astrometry for mosaic?
    487487END
  • branches/eam_branch_20080408/ippconfig/recipes/reductionClasses.mdc

    r17479 r17486  
    7474# basic science analysis
    7575DEFAULT         METADATA
    76         CHIP            STR     PPIMAGE_OBDSFRA
     76        CHIP            STR     PPIMAGE_OBDSFRP
    7777        JPEG_BIN1       STR     PPIMAGE_J1
    7878        JPEG_BIN2       STR     PPIMAGE_J2
    7979END
    8080
    81 # photometry & astrometry for pre-detrended images
     81# photometry for pre-detrended images
    8282PROCESSED       METADATA
    83         CHIP            STR     PPIMAGE_PA
     83        CHIP            STR     PPIMAGE_P
    8484        JPEG_BIN1       STR     PPIMAGE_J1
    8585        JPEG_BIN2       STR     PPIMAGE_J2
  • branches/eam_branch_20080408/ippconfig/sdss/camera.config

    r17479 r17486  
    5454REDUCTION       STR     recipes/reductionClasses.mdc
    5555
    56 FITS    METADATA
    57 # BITPIX is the bits per pixel for writing the output data
    58 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    59 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    60 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    61 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    62 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    63 
    64 # BITPIX(S32) is the bits per pixel for writing the output data
    65 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    66 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    67 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    68 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    69 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    70 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    71 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    72 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    73 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    74 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    75 # FLOAT(STR) is the name of a custom floating-point type
    76 
    77         DET_IMAGE       METADATA
    78                 BITPIX          S32     -32
    79         END
    80         DET_MASK        METADATA
    81                 BITPIX          S32     8
    82         END
    83         DET_WEIGHT      METADATA
    84                 BITPIX          S32     -32
    85         END
    86 
    87         SKY_IMAGE       METADATA
    88                 BITPIX          S32     -32
    89         END
    90         SKY_MASK        METADATA
    91                 BITPIX          S32     8
    92         END
    93         SKY_WEIGHT      METADATA
    94                 BITPIX          S32     -32
    95         END
    96 
    97         COMPRESSED_POSITIVE     METADATA
    98                 BITPIX          S32     16
    99                 SCALING         STR     STDEV_POSITIVE
    100                 STDEV.BITS      S32     4
    101                 STDEV.NUM       F32     10
    102                 COMPRESSION     STR     RICE
    103                 TILE.X          S32     0
    104                 TILE.Y          S32     1
    105                 TILE.Z          S32     1
    106                 NOISE           S32     8
    107         END
    108         COMPRESSED_MASK         METADATA
    109                 COMPRESSION     STR     PLIO
    110                 TILE.X          S32     0
    111                 TILE.Y          S32     1
    112                 TILE.Z          S32     1
    113                 NOISE           S32     8
    114         END
    115         COMPRESSED_SUBTRACTION  METADATA
    116                 BITPIX          S32     16
    117                 SCALING         STR     STDEV_BOTH
    118                 STDEV.BITS      S32     4
    119                 STDEV.NUM       F32     5
    120                 COMPRESSION     STR     RICE
    121                 TILE.X          S32     0
    122                 TILE.Y          S32     1
    123                 TILE.Z          S32     1
    124                 NOISE           S32     8
    125         END
    126 
    127 END
    128 
     56FITSTYPES       STR     recipes/fitstypes.mdc
     57
     58## XXX replace with appropriate common filerules?
    12959FILERULES METADATA
    13060   PSASTRO.INPUT       STR PSASTRO.INPUT.CMF
  • branches/eam_branch_20080408/ippconfig/simmosaic/camera.config

    r17479 r17486  
    6363REDUCTION       STR     recipes/reductionClasses.mdc
    6464
    65 FITS    METADATA
    66 # BITPIX is the bits per pixel for writing the output data
    67 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    68 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    69 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    70 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    71 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     65FITSTYPES       STR     recipes/fitstypes.mdc
    7266
    73 # BITPIX(S32) is the bits per pixel for writing the output data
    74 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    75 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    76 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    77 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    78 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    79 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    80 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    81 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    82 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    83 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    84 # FLOAT(STR) is the name of a custom floating-point type
    85 
    86         DET_IMAGE       METADATA
    87                 BITPIX          S32     -32
    88         END
    89         DET_MASK        METADATA
    90                 BITPIX          S32     8
    91         END
    92         DET_WEIGHT      METADATA
    93                 BITPIX          S32     -32
    94         END
    95 
    96         SKY_IMAGE       METADATA
    97                 BITPIX          S32     -32
    98         END
    99         SKY_MASK        METADATA
    100                 BITPIX          S32     8
    101         END
    102         SKY_WEIGHT      METADATA
    103                 BITPIX          S32     -32
    104         END
    105 
    106         COMPRESSED_POSITIVE     METADATA
    107                 BITPIX          S32     16
    108                 SCALING         STR     STDEV_POSITIVE
    109                 STDEV.BITS      S32     4
    110                 STDEV.NUM       F32     10
    111                 COMPRESSION     STR     RICE
    112                 TILE.X          S32     0
    113                 TILE.Y          S32     1
    114                 TILE.Z          S32     1
    115                 NOISE           S32     8
    116         END
    117         COMPRESSED_MASK         METADATA
    118                 COMPRESSION     STR     PLIO
    119                 TILE.X          S32     0
    120                 TILE.Y          S32     1
    121                 TILE.Z          S32     1
    122                 NOISE           S32     8
    123         END
    124         COMPRESSED_SUBTRACTION  METADATA
    125                 BITPIX          S32     16
    126                 SCALING         STR     STDEV_BOTH
    127                 STDEV.BITS      S32     4
    128                 STDEV.NUM       F32     5
    129                 COMPRESSION     STR     RICE
    130                 TILE.X          S32     0
    131                 TILE.Y          S32     1
    132                 TILE.Z          S32     1
    133                 NOISE           S32     8
    134         END
    135 
    136 END
    137 
    138 FILERULES METADATA
    139    ### Redirections
    140    PSASTRO.INPUT      STR PSASTRO.INPUT.CMF
    141    PSASTRO.OUTPUT     STR PSASTRO.OUT.CMF.SPL
    142    PSASTRO.OUTPUT.MEF STR PSASTRO.OUT.CMF.MEF
    143    PSPHOT.OUTPUT      STR PSPHOT.OUT.CMF.SPL
    144 
    145    ### input file definitions
    146    ### use @DETDB entries to get the detrend images from the database
    147    ### replace @DETDB with @FILES if you want to require it from the
    148    ### command line, or with an explicit name to require a specific file
    149    TYPE               INPUT FILENAME.RULE DATA.LEVEL FILE.TYPE
    150 
    151    ## files used by ppImage
    152    PPIMAGE.INPUT      INPUT @FILES        CHIP       IMAGE     
    153    PPIMAGE.MASK       INPUT @DETDB        CELL       IMAGE     
    154    PPIMAGE.BIAS       INPUT @DETDB        CELL       IMAGE     
    155    PPIMAGE.DARK       INPUT @DETDB        CELL       DARK     
    156    PPIMAGE.FLAT       INPUT @DETDB        CELL       IMAGE     
    157    PPIMAGE.FRINGE     INPUT @DETDB        CHIP       FRINGE     
    158    PPIMAGE.SHUTTER    INPUT @DETDB        CELL       IMAGE     
    159 
    160    ## Files used by ppMerge
    161    PPMERGE.INPUT      INPUT @FILES        CHIP       IMAGE
    162    PPMERGE.INPUT.MASK INPUT @FILES        CHIP       MASK
    163    PPMERGE.INPUT.WEIGHT INPUT @FILES      CHIP       WEIGHT
    164 
    165    ## files used to build and apply the flat-field correction images
    166    DVOCORR.INPUT      INPUT @FILES        CHIP       IMAGE     
    167    DVOCORR.REFHEAD    INPUT @FILES        CHIP       HEADER     
    168    DVOFLAT.INPUT      INPUT @FILES        CHIP       IMAGE     
    169    DVOFLAT.CORR       INPUT @DETDB        CHIP       IMAGE     
    170 
    171    ## files used by psphot
    172    PSPHOT.LOAD        INPUT @FILES        CHIP       IMAGE     
    173    PSPHOT.INPUT       INPUT @FILES        CHIP       IMAGE     
    174    PSPHOT.MASK        INPUT @FILES        CHIP       MASK     
    175    PSPHOT.WEIGHT      INPUT @FILES        CHIP       WEIGHT     
    176    PSPHOT.PSF.LOAD    INPUT @FILES        CHIP       PSF       
    177    PSPHOT.INPUT.CMF   INPUT @FILES        CHIP       CMF       
    178 
    179    ## files used by psastro
    180    PSASTRO.INPUT.CMF  INPUT @FILES        CHIP       CMF       
    181 
    182    ## files used by pswarp
    183    PSWARP.INPUT       INPUT @FILES        CHIP       IMAGE     
    184    PSWARP.SKYCELL     INPUT @FILES        FPA        IMAGE     
    185    PSWARP.WEIGHT      INPUT @FILES        CHIP       WEIGHT
    186    PSWARP.MASK        INPUT @FILES        CHIP       MASK
    187    PSWARP.ASTROM      INPUT @FILES        CHIP       CMF       
    188 
    189    PPSUB.INPUT        INPUT    none.fits  FPA        IMAGE
    190    PPSUB.INPUT.MASK   INPUT    none.fits  FPA        MASK
    191    PPSUB.INPUT.WEIGHT INPUT    none.fits  FPA        WEIGHT
    192    PPSUB.REF          INPUT    none.fits  FPA        IMAGE
    193    PPSUB.REF.MASK     INPUT    none.fits  FPA        MASK
    194    PPSUB.REF.WEIGHT   INPUT    none.fits  FPA        WEIGHT
    195 
    196    PPSTACK.INPUT      INPUT    none.fits  FPA        IMAGE
    197    PPSTACK.INPUT.MASK INPUT    none.fits  FPA        MASK
    198    PPSTACK.INPUT.WEIGHT INPUT  none.fits  FPA        WEIGHT
    199 
    200    PPSTAMP.INPUT      INPUT @FILES        CHIP       IMAGE
    201 
    202    PPARITH.INPUT.IMAGE INPUT @FILES        CHIP       IMAGE
    203    PPARITH.INPUT.MASK  INPUT @FILES        CHIP       MASK
    204 
    205 
    206    ### output file definitions
    207    TYPE                OUTPUT   FILENAME.RULE                  FILE.TYPE FITS.TYPE DATA.LEVEL FILE.SAVE FILE.FORMAT
    208    PPIMAGE.OUTPUT      OUTPUT   {OUTPUT}.{CHIP.NAME}.fits      IMAGE     NONE      CHIP       TRUE      SPLIT
    209    PPIMAGE.OUTPUT.MASK OUTPUT   {OUTPUT}.{CHIP.NAME}.mask.fits MASK      NONE      CHIP       TRUE      SPLIT
    210    PPIMAGE.OUTPUT.WEIGHT OUTPUT {OUTPUT}.{CHIP.NAME}.wt.fits   WEIGHT    NONE      CHIP       TRUE      SPLIT
    211    PPIMAGE.CHIP        OUTPUT   {OUTPUT}.{CHIP.NAME}.ch.fits   IMAGE     NONE      CHIP       TRUE      SPLIT
    212    PPIMAGE.CHIP.MASK   OUTPUT   {OUTPUT}.{CHIP.NAME}.ch.mask.fits MASK   NONE      CHIP       TRUE      SPLIT
    213    PPIMAGE.CHIP.WEIGHT OUTPUT   {OUTPUT}.{CHIP.NAME}.ch.wt.fits WEIGHT   NONE      CHIP       TRUE      SPLIT
    214    PPIMAGE.OUTPUT.FPA1 OUTPUT   {OUTPUT}.fpa1.fits             IMAGE     NONE      FPA        TRUE      NONE
    215    PPIMAGE.OUTPUT.FPA2 OUTPUT   {OUTPUT}.fpa2.fits             IMAGE     NONE      FPA        TRUE      NONE
    216    PPIMAGE.STATS       OUTPUT   {OUTPUT}.stats                 STATS     NONE      FPA        TRUE      NONE
    217 
    218    PPIMAGE.JPEG1       OUTPUT   {OUTPUT}.b1.jpg                JPEG      NONE      FPA        TRUE      NONE
    219    PPIMAGE.JPEG2       OUTPUT   {OUTPUT}.b2.jpg                JPEG      NONE      FPA        TRUE      NONE
    220    PPIMAGE.BIN1        OUTPUT   {OUTPUT}.{CHIP.NAME}.b1.fits   IMAGE     NONE      CHIP       TRUE      SPLIT
    221    PPIMAGE.BIN2        OUTPUT   {OUTPUT}.{CHIP.NAME}.b2.fits   IMAGE     NONE      CHIP       TRUE      SPLIT
    222 
    223    PPMERGE.OUTPUT.MASK   OUTPUT {OUTPUT}.{CHIP.NAME}.fits      MASK      NONE      CHIP       TRUE      SPLIT
    224    PPMERGE.OUTPUT.BIAS   OUTPUT {OUTPUT}.{CHIP.NAME}.fits      IMAGE     NONE      CHIP       TRUE      SPLIT
    225    PPMERGE.OUTPUT.DARK   OUTPUT {OUTPUT}.{CHIP.NAME}.fits      DARK      NONE      CHIP       TRUE      SPLIT
    226    PPMERGE.OUTPUT.SHUTTER OUTPUT {OUTPUT}.{CHIP.NAME}.fits     IMAGE     NONE      CHIP       TRUE      SPLIT
    227    PPMERGE.OUTPUT.FLAT   OUTPUT {OUTPUT}.{CHIP.NAME}.fits      IMAGE     NONE      CHIP       TRUE      SPLIT
    228    PPMERGE.OUTPUT.FRINGE OUTPUT {OUTPUT}.{CHIP.NAME}.fits      FRINGE    NONE      CHIP       TRUE      SPLIT
    229    PPMERGE.OUTPUT.SIGMA  OUTPUT {OUTPUT}.sigma.fits            IMAGE     NONE      CHIP       TRUE      NONE
    230    PPMERGE.OUTPUT.COUNT  OUTPUT {OUTPUT}.count.fits            IMAGE     NONE      CHIP       TRUE      NONE
    231 
    232    DVOCORR.OUTPUT      OUTPUT   {OUTPUT}.{CHIP.NAME}.fc.fits   IMAGE     NONE      CHIP       TRUE      NONE
    233    DVOFLAT.OUTPUT      OUTPUT   {OUTPUT}.{CHIP.NAME}.co.fits   IMAGE     NONE      CHIP       TRUE      NONE
    234 
    235    PSPHOT.RESID        OUTPUT   {OUTPUT}.{CHIP.NAME}.res.fits  IMAGE     NONE      CHIP       TRUE      NONE
    236    PSPHOT.BACKGND      OUTPUT   {OUTPUT}.{CHIP.NAME}.bck.fits  IMAGE     NONE      CHIP       TRUE      NONE
    237    PSPHOT.BACKSUB      OUTPUT   {OUTPUT}.{CHIP.NAME}.sub.fits  IMAGE     NONE      CHIP       TRUE      NONE
    238    PSPHOT.BACKMDL      OUTPUT   {OUTPUT}.{CHIP.NAME}.mdl.fits  IMAGE     NONE      CHIP       TRUE      NONE
    239    PSPHOT.BACKMDL.STDEV OUTPUT   {OUTPUT}.{CHIP.NAME}.mdd.fits IMAGE     NONE      CHIP       TRUE      NONE
    240 
    241    PSPHOT.OUTPUT.RAW   OUTPUT   {OUTPUT}.{CHIP.NAME}           RAW       NONE      CHIP       TRUE      NONE
    242    PSPHOT.OUTPUT.SX    OUTPUT   {OUTPUT}.{CHIP.NAME}.sx        SX        NONE      CHIP       TRUE      NONE
    243    PSPHOT.OUTPUT.OBJ   OUTPUT   {OUTPUT}.{CHIP.NAME}.obj       OBJ       NONE      CHIP       TRUE      NONE
    244    PSPHOT.OUT.CMF.SPL  OUTPUT   {OUTPUT}.{CHIP.NAME}.cmf       CMF       NONE      CHIP       TRUE      NONE
    245    PSPHOT.OUT.CMF.MEF  OUTPUT   {OUTPUT}.cmf                   CMF       NONE      FPA        TRUE      NONE
    246 
    247    PSPHOT.PSF.SAVE     OUTPUT   {OUTPUT}.{CHIP.NAME}.psf       PSF       NONE      CHIP       TRUE      NONE
    248 
    249    SOURCE.PLOT.MOMENTS  OUTPUT  {OUTPUT}.{CHIP.NAME}.mnt.png   KAPA      NONE      CHIP       TRUE      NONE
    250    SOURCE.PLOT.PSFMODEL OUTPUT  {OUTPUT}.{CHIP.NAME}.psf.png   KAPA      NONE      CHIP       TRUE      NONE
    251    SOURCE.PLOT.APRESID  OUTPUT  {OUTPUT}.{CHIP.NAME}.dap.png   KAPA      NONE      CHIP       TRUE      NONE
    252 
    253    PSASTRO.OUTPUT.CMP   OUTPUT   {OUTPUT}.{CHIP.NAME}.smp      CMP       NONE      CHIP       TRUE      SPLIT
    254    PSASTRO.OUT.CMF.SPL  OUTPUT   {OUTPUT}.{CHIP.NAME}.smf      CMF       NONE      CHIP       TRUE      SPLIT
    255    PSASTRO.OUT.CMF.MEF  OUTPUT   {OUTPUT}.smf                  CMF       NONE      FPA        TRUE      TOGETHER
    256 
    257    PSWARP.OUTPUT       OUTPUT   {OUTPUT}.fits                  IMAGE     NONE      FPA        TRUE      NONE
    258    PSWARP.OUTPUT.MASK  OUTPUT   {OUTPUT}.mask.fits             MASK      NONE      FPA        TRUE      NONE
    259    PSWARP.OUTPUT.WEIGHT OUTPUT  {OUTPUT}.wt.fits               WEIGHT    NONE      FPA        TRUE      NONE
    260    PSWARP.BIN1         OUTPUT   {OUTPUT}.b1.fits               IMAGE     NONE      FPA        TRUE      NONE
    261    PSWARP.BIN2         OUTPUT   {OUTPUT}.b2.fits               IMAGE     NONE      FPA        TRUE      NONE
    262 
    263    SKYCELL.STATS       OUTPUT   {OUTPUT}.stats                 STATS     NONE      FPA        TRUE      NONE
    264    SKYCELL.TEMPLATE    OUTPUT   {OUTPUT}.skycell               SKYCELL   NONE      FPA        TRUE      NONE
    265 
    266    PPSUB.OUTPUT        OUTPUT   {OUTPUT}.fits                  IMAGE     NONE      FPA        TRUE      NONE
    267    PPSUB.OUTPUT.MASK   OUTPUT   {OUTPUT}.mask.fits             MASK      NONE      FPA        TRUE      NONE
    268    PPSUB.OUTPUT.WEIGHT OUTPUT   {OUTPUT}.wt.fits               WEIGHT    NONE      FPA        TRUE      NONE
    269 
    270    PPSTACK.OUTPUT      OUTPUT   {OUTPUT}.fits                  IMAGE     NONE      FPA        TRUE      NONE
    271    PPSTACK.OUTPUT.MASK OUTPUT   {OUTPUT}.mask.fits             MASK      NONE      FPA        TRUE      NONE
    272    PPSTACK.OUTPUT.WEIGHT OUTPUT {OUTPUT}.weight.fits           WEIGHT    NONE      FPA        TRUE      NONE
    273 
    274    PPSTAMP.OUTPUT        OUTPUT {OUTPUT}.fits                  IMAGE     NONE      FPA        TRUE      NONE
    275    PPSTAMP.CHIP.MEF      OUTPUT {OUTPUT}.ch.fits               IMAGE     NONE      CHIP       FALSE     MEF
    276 
    277    PPSIM.OUTPUT        OUTPUT   {OUTPUT}.{CHIP.NAME}.fits      IMAGE     NONE      CHIP       TRUE      SPLIT
    278    PPSIM.SOURCES       OUTPUT   {OUTPUT}.cmf                   CMF       NONE      FPA        TRUE      NONE
    279 
    280    PPARITH.OUTPUT.IMAGE  OUTPUT {OUTPUT}.fits                  IMAGE     NONE      CHIP       TRUE      NONE
    281    PPARITH.OUTPUT.MASK   OUTPUT {OUTPUT}.fits                  MASK     NONE      CHIP       TRUE      NONE
    282 
    283    LOG.IMFILE            OUTPUT {OUTPUT}.{CHIP.NAME}.log       TEXT      NONE      CHIP       TRUE      NONE
    284    LOG.EXP               OUTPUT {OUTPUT}.log                   TEXT      NONE      FPA        TRUE      NONE
    285 END
    286 
    287 # FPA file defines properties of a possible input|output object
    288 # user can set the filename (I|O), filename rules (O), or abstract source (@FILES, @DETDB) (I)
    289 # user can set the extension name, if used
    290 # user can set the file type (IMAGE, JPEG, RAW, SX, OBJ, CMP, CMF) : but these are not variable in most cases!
    291 # user can set the file depth: only valid for output files
    292 # user can set the data depth: must be >= file depth
    293 # user can set the file format: only valid for newly created FPAs
    294 # user can set the colormap, scaling method, scaling range (JPEG only)
    295 # user can set the extension name for the data and header segments (CMF only)
    296 
     67FILERULES       STR     recipes/filerules-mef.mdc
    29768
    29869EXTNAME.RULES   METADATA
  • branches/eam_branch_20080408/ippconfig/simple/camera.config

    r17482 r17486  
    4848REDUCTION       STR     recipes/reductionClasses.mdc
    4949
    50 FITS            STR     recipes/fitstypes.mdc
     50FITSTYPES       STR     recipes/fitstypes.mdc
    5151
    52 FILERULES STR recipes/filerules-simple.mdc
     52FILERULES       STR    recipes/filerules-simple.mdc
    5353
    5454EXTNAME.RULES METADATA
  • branches/eam_branch_20080408/ippconfig/simtest/camera.config

    r17482 r17486  
    5151REDUCTION       STR     recipes/reductionClasses.mdc
    5252
    53 FITS            STR     recipes/fitstypes.mdc
     53FITSTYPES       STR     recipes/fitstypes.mdc
    5454
    5555FILERULES       STR     recipes/filerules-simple.mdc
  • branches/eam_branch_20080408/ippconfig/tc3/camera.config

    r16199 r17486  
    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
  • branches/eam_branch_20080408/ippconfig/tek/camera.config

    r17406 r17486  
    5151END
    5252
    53 FITS    METADATA
    54 # BITPIX is the bits per pixel for writing the output data
    55 # COMP = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    56 # TILE.[XYZ] are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    57 # NOISE [0..16] is the number of "noise bits" to preserve when quantising floating point data; 16 for no loss
    58 # HSCALE is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    59 # HSMOOTH is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
     53FITSTYPES       STR     recipes/fitstypes.mdc
    6054
    61 # BITPIX(S32) is the bits per pixel for writing the output data
    62 # COMPRESSION(STR) = NONE|RICE|GZIP|HCOMPRESS|PLIO is the compression algorithm
    63 # TILE.[XYZ](S32) are the tile sizes.  0 means entire the dimension, so (0,1,1) forms tiles from rows
    64 # NOISE(S32) [0..16] is the number of "noise bits" to preserve when quantising floating point data
    65 # HSCALE(S32) is the scale factor for lossy compression with HCOMPRESS; 0 or 1 for none; 2*RMS --> 10x compression
    66 # HSMOOTH(S32) is the smoothing to apply to HCOMPRESSed data when decompressing; 0 for none
    67 # SCALING(STR) = NONE|RANGE|STDEV_POSITIVE|STDEV_NEGATIVE|STDEV_BOTH|MANUAL is the scaling scheme
    68 # BSCALE(F32) is the manual scaling to apply (when SCALING = MANUAL)
    69 # BZERO(F32) is the manual zero-point to apply (when SCALING = MANUAL)
    70 # STDEV.BITS(S32) is the number of bits to map to a standard deviation (when SCALING = STDEV_*)
    71 # STDEV.NUM(F32) is the number of standard deviations to the edge (when SCALING = STDEV_NEGATIVE|STDEV_POSITIVE)
    72 # FLOAT(STR) is the name of a custom floating-point type
    73 
    74         DET_IMAGE       METADATA
    75                 BITPIX          S32     -32
    76         END
    77         DET_MASK        METADATA
    78                 BITPIX          S32     8
    79         END
    80         DET_WEIGHT      METADATA
    81                 BITPIX          S32     -32
    82         END
    83 
    84         SKY_IMAGE       METADATA
    85                 BITPIX          S32     -32
    86         END
    87         SKY_MASK        METADATA
    88                 BITPIX          S32     8
    89         END
    90         SKY_WEIGHT      METADATA
    91                 BITPIX          S32     -32
    92         END
    93 
    94         COMPRESSED_POSITIVE     METADATA
    95                 BITPIX          S32     16
    96                 SCALING         STR     STDEV_POSITIVE
    97                 STDEV.BITS      S32     4
    98                 STDEV.NUM       F32     10
    99                 COMPRESSION     STR     RICE
    100                 TILE.X          S32     0
    101                 TILE.Y          S32     1
    102                 TILE.Z          S32     1
    103                 NOISE           S32     8
    104         END
    105         COMPRESSED_MASK         METADATA
    106                 COMPRESSION     STR     PLIO
    107                 TILE.X          S32     0
    108                 TILE.Y          S32     1
    109                 TILE.Z          S32     1
    110                 NOISE           S32     8
    111         END
    112         COMPRESSED_SUBTRACTION  METADATA
    113                 BITPIX          S32     16
    114                 SCALING         STR     STDEV_BOTH
    115                 STDEV.BITS      S32     4
    116                 STDEV.NUM       F32     5
    117                 COMPRESSION     STR     RICE
    118                 TILE.X          S32     0
    119                 TILE.Y          S32     1
    120                 TILE.Z          S32     1
    121                 NOISE           S32     8
    122         END
    123 
    124 END
    125 
    126 FILERULES METADATA
    127    PSASTRO.INPUT       STR PSASTRO.INPUT.CMF
    128    PSASTRO.OUTPUT      STR PSASTRO.OUTPUT.CMF
    129    PSASTRO.OUTPUT.MEF  STR PSASTRO.OUTPUT.CMF
    130    PSPHOT.OUTPUT       STR PSPHOT.OUTPUT.CMF
    131 
    132    ### input file definitions
    133    ### use @DETDB entries to get the detrend images from the database
    134    ### replace @DETDB with @FILES if you want to require it from the
    135    ### command line, or with an explicit name to require a specific file
    136    TYPE               INPUT FILENAME.RULE DATA.LEVEL FILE.TYPE
    137 
    138    ## files used by ppImage
    139    PPIMAGE.INPUT      INPUT @FILES        FPA        IMAGE     
    140    PPIMAGE.MASK       INPUT mask.fits     FPA        IMAGE     
    141    PPIMAGE.BIAS       INPUT @DETDB        FPA        IMAGE     
    142    PPIMAGE.DARK       INPUT @DETDB        FPA        IMAGE     
    143    PPIMAGE.FLAT       INPUT @DETDB        FPA        IMAGE     
    144    PPIMAGE.FRINGE     INPUT @DETDB        FPA        FRINGE
    145    PPIMAGE.SHUTTER    INPUT @DETDB        FPA        IMAGE     
    146 
    147    ## files used to build and apply the flat-field correction images
    148    DVOCORR.INPUT      INPUT @FILES        FPA        IMAGE
    149    DVOCORR.REFHEAD    INPUT @FILES        FPA        HEADER
    150    DVOFLAT.INPUT      INPUT @FILES        FPA        IMAGE
    151    DVOFLAT.CORR       INPUT @DETDB        FPA        IMAGE
    152 
    153    ## files used by psphot
    154    PSPHOT.LOAD        INPUT @FILES        FPA        IMAGE
    155    PSPHOT.INPUT       INPUT @FILES        FPA        IMAGE     
    156    PSPHOT.MASK        INPUT @FILES        FPA        MASK     
    157    PSPHOT.WEIGHT      INPUT @FILES        FPA        WEIGHT     
    158    PSPHOT.PSF.LOAD    INPUT @FILES        FPA        PSF       
    159 
    160    ## files used by psastro
    161    PSASTRO.INPUT.CMP  INPUT @FILES        FPA        CMP       
    162    PSASTRO.INPUT.CMF  INPUT @FILES        FPA        CMF       
    163 
    164    ## files used by pswarp
    165    PSWARP.INPUT       INPUT @FILES        FPA        IMAGE
    166    PSWARP.WEIGHT      INPUT @FILES        FPA        WEIGHT
    167    PSWARP.MASK        INPUT @FILES        FPA        MASK
    168    PSWARP.SKYCELL     INPUT @FILES        FPA        IMAGE
    169    PSWARP.ASTROM      INPUT @FILES        FPA        CMF
    170 
    171 
    172    PPSUB.INPUT        INPUT    none.fits                     FPA        IMAGE
    173    PPSUB.INPUT.MASK   INPUT    none.fits                     FPA        MASK
    174    PPSUB.INPUT.WEIGHT INPUT    none.fits                     FPA        WEIGHT
    175    PPSUB.REF          INPUT    none.fits                     FPA        IMAGE
    176    PPSUB.REF.MASK     INPUT    none.fits                     FPA        MASK
    177    PPSUB.REF.WEIGHT   INPUT    none.fits                     FPA        WEIGHT
    178 
    179    PPSTACK.INPUT      INPUT    none.fits                     FPA        IMAGE
    180    PPSTACK.INPUT.MASK INPUT    none.fits                     FPA        MASK
    181 
    182    PPARITH.INPUT.IMAGE INPUT @FILES        CHIP       IMAGE
    183    PPARITH.INPUT.MASK  INPUT @FILES        CHIP       MASK
    184 
    185    ### output file definitions
    186    TYPE                  OUTPUT  FILENAME.RULE         FILE.TYPE FITS.TYPE DATA.LEVEL FILE.SAVE FILE.FORMAT
    187    PPIMAGE.OUTPUT        OUTPUT  {OUTPUT}.tek.fits     IMAGE     NONE      FPA        TRUE      NONE
    188    PPIMAGE.OUTPUT.MASK   OUTPUT  {OUTPUT}.mask.fits    MASK      NONE      FPA        TRUE      NONE
    189    PPIMAGE.OUTPUT.WEIGHT OUTPUT  {OUTPUT}.wt.fits      WEIGHT    NONE      FPA        TRUE      NONE
    190    PPIMAGE.CHIP          OUTPUT  {OUTPUT}.chip.fits    IMAGE     NONE      FPA        TRUE      NONE
    191    PPIMAGE.CHIP.MASK     OUTPUT  {OUTPUT}.chip.mk.fits MASK      NONE      FPA        TRUE      NONE
    192    PPIMAGE.CHIP.WEIGHT   OUTPUT  {OUTPUT}.chip.wt.fits WEIGHT    NONE      FPA        TRUE      NONE
    193 
    194    PPIMAGE.OUTPUT.FPA1   OUTPUT  {OUTPUT}.b1.fits      IMAGE     NONE      FPA        TRUE      NONE
    195    PPIMAGE.OUTPUT.FPA2   OUTPUT  {OUTPUT}.b2.fits      IMAGE     NONE      FPA        TRUE      NONE
    196 
    197    PPIMAGE.BIN1          OUTPUT  {OUTPUT}.b1c.fits     IMAGE     NONE      FPA        TRUE      NONE
    198    PPIMAGE.BIN2          OUTPUT  {OUTPUT}.b2c.fits     IMAGE     NONE      FPA        TRUE      NONE
    199 
    200    PPIMAGE.JPEG1         OUTPUT  {OUTPUT}.b1.jpg       JPEG      NONE      FPA        TRUE      NONE
    201    PPIMAGE.JPEG2         OUTPUT  {OUTPUT}.b2.jpg       JPEG      NONE      FPA        TRUE      NONE
    202 
    203    DVOCORR.OUTPUT        OUTPUT  {OUTPUT}.fc.fits      IMAGE     NONE      FPA        TRUE      NONE
    204    DVOFLAT.OUTPUT        OUTPUT  {OUTPUT}.co.fits      IMAGE     NONE      FPA        TRUE      NONE
    205 
    206    PSPHOT.RESID          OUTPUT  {OUTPUT}.res.fits     IMAGE     NONE      FPA        TRUE      NONE
    207    PSPHOT.BACKGND        OUTPUT  {OUTPUT}.bck.fits     IMAGE     NONE      FPA        TRUE      NONE
    208    PSPHOT.BACKSUB        OUTPUT  {OUTPUT}.sub.fits     IMAGE     NONE      FPA        TRUE      NONE
    209    PSPHOT.BACKMDL        OUTPUT  {OUTPUT}.mdl.fits     IMAGE     NONE      FPA        TRUE      NONE
    210 
    211    PSPHOT.OUTPUT.RAW     OUTPUT  {OUTPUT}              RAW       NONE      FPA        TRUE      NONE
    212    PSPHOT.OUTPUT.SX      OUTPUT  {OUTPUT}.sx           SX        NONE      FPA        TRUE      NONE
    213    PSPHOT.OUTPUT.OBJ     OUTPUT  {OUTPUT}.obj          OBJ       NONE      FPA        TRUE      NONE
    214    PSPHOT.OUTPUT.CMP     OUTPUT  {OUTPUT}.cmp          CMP       NONE      FPA        TRUE      NONE
    215    PSPHOT.OUTPUT.CMF     OUTPUT  {OUTPUT}.cmf          CMF       NONE      FPA        TRUE      NONE
    216 
    217    PSPHOT.PSF.SAVE       OUTPUT  {OUTPUT}.psf          PSF       NONE      FPA        TRUE      NONE
    218 
    219    SOURCE.PLOT.MOMENTS   OUTPUT  {OUTPUT}.mnt.png      KAPA      NONE      FPA        TRUE      NONE
    220    SOURCE.PLOT.PSFMODEL  OUTPUT  {OUTPUT}.psf.png      KAPA      NONE      FPA        TRUE      NONE
    221 
    222    PSASTRO.OUTPUT.CMP    OUTPUT  {OUTPUT}.smp          CMP       NONE      FPA        TRUE      NONE
    223    PSASTRO.OUTPUT.CMF    OUTPUT  {OUTPUT}.smf          CMF       NONE      FPA        TRUE      NONE
    224 
    225    PSWARP.OUTPUT         OUTPUT {OUTPUT}.fits          IMAGE     NONE      FPA        TRUE      NONE
    226    PSWARP.OUTPUT.MASK    OUTPUT {OUTPUT}.mask.fits     MASK      NONE      FPA        TRUE      NONE
    227    PSWARP.OUTPUT.WEIGHT  OUTPUT {OUTPUT}.wt.fits       WEIGHT    NONE      FPA        TRUE      NONE
    228    PSWARP.BIN1           OUTPUT {OUTPUT}.b1.fits       IMAGE     NONE      FPA        TRUE      NONE
    229    PSWARP.BIN2           OUTPUT {OUTPUT}.b2.fits       IMAGE     NONE      FPA        TRUE      NONE
    230    PPSUB.OUTPUT          OUTPUT {OUTPUT}.fits          IMAGE     NONE      FPA        TRUE      NONE
    231    PPSUB.OUTPUT.MASK     OUTPUT {OUTPUT}.mask.fits     MASK      NONE      FPA        TRUE      NONE
    232    PPSUB.OUTPUT.WEIGHT   OUTPUT {OUTPUT}.wt.fits       WEIGHT    NONE      FPA        TRUE      NONE
    233 
    234    PPSTACK.OUTPUT        OUTPUT {OUTPUT}.fits          IMAGE     NONE      FPA        TRUE      NONE
    235    PPSTACK.OUTPUT.MASK   OUTPUT {OUTPUT}.mask.fits     MASK      NONE      FPA        TRUE      NONE
    236 
    237    PPSIM.OUTPUT          OUTPUT {OUTPUT}.fits          IMAGE     NONE      FPA        TRUE      NONE
    238 
    239    PPARITH.OUTPUT.IMAGE  OUTPUT {OUTPUT}.fits          IMAGE     NONE      CHIP       TRUE      NONE
    240    PPARITH.OUTPUT.MASK   OUTPUT {OUTPUT}.fits          MASK      NONE      CHIP       TRUE      NONE
    241 
    242    LOG.IMFILE            OUTPUT {OUTPUT}.log           TEXT      NONE      CHIP       TRUE      NONE
    243    LOG.EXP               OUTPUT {OUTPUT}.log           TEXT      NONE      FPA        TRUE      NONE
    244 END
     55FILERULES       STR     recipes/filerules-simple.mdc
    24556
    24657EXTNAME.RULES METADATA
  • branches/eam_branch_20080408/ippconfig/ucam/camera.config

    r16199 r17486  
    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.