IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2009, 11:05:42 AM (17 years ago)
Author:
Paul Price
Message:

Updating mask bits. Renamed BAD --> LOW to more simply conveys the intent; removed the RANGE mask keyword since it was originally intended as an alias for SAT|LOW (for non-linear pixels, SAT is suitable); renamed BAD.WARP and POOR.WARP --> CONV.BAD and CONV.POOR, since they are used for convolution/interpolation, not just warping; added SUSPECT, intended for the pixels that have been modified by burntool --- we would like to use them if possible, but will quickly throw them away if they don't behave as they ought (similar to CONV.POOR).

Location:
trunk/ippconfig/recipes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/recipes/masks.16bit.config

    r23466 r23498  
    88
    99# Mask values which represent features of the detector
    10 DETECTOR        U8      0x0001          # Something is wrong with the detector
    11 FLAT            U8      0x0002          # Pixel doesn't flat-field properly
    12 DARK            U8      0x0004          # Pixel doesn't dark-subtract properly
    13 BLANK           U8      0x0008          # Pixel doesn't contain valid data
    14 CTE             U8      0x0010          # Pixel has poor cte
     10DETECTOR        U16     0x0001          # Something is wrong with the detector
     11FLAT            U16     0x0002          # Pixel doesn't flat-field properly
     12DARK            U16     0x0004          # Pixel doesn't dark-subtract properly
     13BLANK           U16     0x0008          # Pixel doesn't contain valid data
     14CTE             U16     0x0010          # Pixel has poor Charge Transfer Efficiency
    1515
    1616# Mask values which represent invalid signal ranges
    17 RANGE           U8      0x0020          # Pixel is out-of-range of linearity
    18 SAT             U8      0x0040          # Pixel is saturated
    19 BAD             U8      0x0080          # Pixel is low (can we rename this 'LOW'?)
     17SAT             U16     0x0020          # Pixel is saturated or non-linear
     18LOW             U16     0x0040          # Pixel is low
     19SUSPECT         U16     0x0080          # Pixel is suspected of being bad
    2020
    2121# Mask values which represent non-astronomical structures
    22 CR              U8      0x0100          # Pixel contains a cosmic ray
    23 SPIKE           U8      0x0200          # Pixel contains a diffraction spike
    24 GHOST           U8      0x0400          # Pixel contains an optical ghost
    25 STREAK          U8      0x0800          # Pixel contains a streak
    26 STARCORE        U8      0x1000          # Pixel contains a streak
     22CR              U16     0x0100          # Pixel contains a cosmic ray
     23SPIKE           U16     0x0200          # Pixel contains a diffraction spike
     24GHOST           U16     0x0400          # Pixel contains an optical ghost
     25STREAK          U16     0x0800          # Pixel contains a streak
     26STARCORE        U16     0x1000          # Pixel contains a bright star core
    2727
    2828# Mask values which identify pixels badly affected by convolutions and interpolations
    29 BAD.WARP        U8      0x2000          # Pixel is bad after convolution with a bad pixel
    30 POOR.WARP       U8      0x4000          # Pixel is poor after convolution with a bad pixel
     29CONV.BAD        U16     0x2000          # Pixel is bad after convolution with a bad pixel
     30CONV.POOR       U16     0x4000          # Pixel is poor after convolution with a bad pixel
    3131
     32# Spare value for temporary marking
     33# MARK          U16     0x8000          # Pixel is temporarily marked
  • trunk/ippconfig/recipes/ppStack.config

    r23212 r23498  
    55COMBINE.SYS     F32     0.08            # Relative systematic error in combination
    66COMBINE.DISCARD F32     0.2             # Discard fraction for Olympic weighted mean
    7 MASK.VAL        STR     MASK.VALUE,BAD.WARP     # Mask value of input bad pixels
     7MASK.VAL        STR     MASK.VALUE,CONV.BAD     # Mask value of input bad pixels
    88MASK.BAD        STR     BLANK           # Mask value to give bad pixels
    9 MASK.POOR       STR     POOR.WARP       # Mask value to give poor pixels
     9MASK.POOR       STR     CONV.POOR       # Mask value to give poor pixels
    1010POOR.FRACTION   F32     0.01            # Maximum fraction of bad variance for poor pixels
    1111THRESHOLD.MASK  F32     0.5             # Threshold for mask deconvolution (0..1)
  • trunk/ippconfig/recipes/ppSub.config

    r23237 r23498  
    1515
    1616# EAM : we now ignore these: BAD.WARP is always bad, POOR.WARP is always defined
    17 MASK.IN         STR     MASK.VALUE,BAD.WARP     # Mask value for input
    18 MASK.BAD        STR     BLANK           # Mask value to give bad pixels
    19 MASK.POOR       STR     POOR.WARP       # Mask value to give poor pixels
     17MASK.IN         STR     MASK.VALUE,CONV.BAD     # Mask value for input
     18MASK.BAD        STR     CONV.BAD        # Mask value to give bad pixels
     19MASK.POOR       STR     CONV.POOR       # Mask value to give poor pixels
    2020
    2121POOR.FRACTION   F32     0.10            # Maximum fraction of bad weight for poor pixels
Note: See TracChangeset for help on using the changeset viewer.