IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18563


Ignore:
Timestamp:
Jul 15, 2008, 10:35:24 AM (18 years ago)
Author:
eugene
Message:

remove mask names from specific recipes (like psphot.config, ppImage.config) and only allow the names in masks.config

Location:
trunk/ippconfig
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/cfh12k/ppMerge.config

    r12374 r18563  
    2828        FRACLOW         F32     0.1             # Fraction of low pixels to reject immediately
    2929        NKEEP           S32     5               # Minimum number of pixels in stack to keep
    30         MASKVAL         S32     0xff            # Mask value for input data
    3130        WEIGHTS         BOOL    TRUE            # Use image weights?
    3231        COMBINE         STR     MEAN            # Statistic to use for combination:
  • trunk/ippconfig/lbc_red/ppMerge.config

    r17154 r18563  
    2828        FRACLOW         F32     0.1             # Fraction of low pixels to reject immediately
    2929        NKEEP           S32     5               # Minimum number of pixels in stack to keep
    30         MASKVAL         S32     0xff            # Mask value for input data
    3130        WEIGHTS         BOOL    TRUE            # Use image weights?
    3231        COMBINE         STR     MEAN            # Statistic to use for combination:
  • trunk/ippconfig/recipes/filerules-split.mdc

    r18398 r18563  
    138138PSPHOT.OUT.CMF.SPL      OUTPUT {OUTPUT}.{CHIP.NAME}.cmf          CMF       NONE       CHIP       TRUE      NONE
    139139PSPHOT.OUT.CMF.MEF      OUTPUT {OUTPUT}.cmf                      CMF       NONE       FPA        TRUE      MEF
    140 PSPHOT.PSF.SAVE         OUTPUT {OUTPUT}.psf                      PSF       NONE       CHIP       TRUE      MEF
     140PSPHOT.PSF.SAVE         OUTPUT {OUTPUT}.{CHIP.NAME}.psf          PSF       NONE       CHIP       TRUE      MEF
    141141                                                                                                       
    142142SOURCE.PLOT.MOMENTS     OUTPUT {OUTPUT}.{CHIP.NAME}.mnt.png      KAPA      NONE       CHIP       TRUE      NONE
  • trunk/ippconfig/recipes/masks.config

    r13592 r18563  
    11### Recipe specifying values for various mask concepts
     2
     3# this file defines bit values for various abstract mask concepts.  It
     4# is not necessary for all bit values to be unique.  Note that there
     5# are two main classes: detector-intrinsic and detector-extrinsic
     6# effects.  The former will default to DETECTOR and the latter to
     7# RANGE if those values are not specifed
     8
     9# Note that it is necessary to leave at least a single unassigned bit
     10# for internal marking (or ppImage will complain)
     11
     12# these mask values are used for detector intrinsic effects
     13# BLANK and FLAT will be set to DETECTOR if not specified
     14DETECTOR        U8      0x01            # Generic detector-intrinsic defect
    215BLANK           U8      0x01            # The pixel is blank or has no (valid) data
     16DARK            U8      0x02            # The pixel is not correctable for dark current
    317FLAT            U8      0x02            # The pixel is non-positive in the flat-field
    4 DETECTOR        U8      0x02            # The detector pixel is bad (e.g., bad column, charge trap)
     18
     19# these mask values are used for detector extrinsic effects
     20# SAT and BAD will be set to RANGE if not specified
     21RANGE           U8      0x04            # The pixel is out of range in the image of interest
    522SAT             U8      0x04            # The pixel is saturated in the image of interest
    623BAD             U8      0x04            # The pixel is low in the image of interest
    7 RANGE           U8      0x04            # The pixel is out of range in the image of interest
     24
    825CR              U8      0x08            # The pixel is probably a CR
    9 SUSPECT         U8      0x40            # The pixel is suspected of being bad, but may not be
    10 MARK            U8      0x80            # The pixel is marked as temporarily ignored
     26GHOST           U8      0x08            # The pixel is probably a CR
     27
     28
     29BAD.WARP        U8      0x04            # The pixel is low in the image of interest
     30POOR.WARP       U8      0x04            # The pixel is low in the image of interest
  • trunk/ippconfig/recipes/ppImage.config

    r18372 r18563  
    1111FLAT             BOOL    TRUE            # Flat-field normalisation
    1212MASK             BOOL    FALSE           # Mask bad pixels
    13 MASK.VALUE       STR     SAT,BAD,DETECTOR # Mask pixels with these attributes
     13
     14# XXX EAM : this is being deprecated
     15# MASK.VALUE       STR     SAT,BAD,DETECTOR # Mask pixels with these attributes
    1416
    1517MASK.BUILD       BOOL    FALSE           # Build internal mask image
  • trunk/ippconfig/recipes/ppMerge.config

    r18253 r18563  
    2020MASK.CHIPSTATS  BOOL    TRUE            # Measure stats for masking by chip (otherwise by readout)?
    2121MASK.GROW       S32     0               # Grow bad pixels by this radius
    22 MASK.GROWVAL    STR     SUSPECT         # Give grown mask pixels this value
    23 MASKVAL         STR     SAT,BAD         # Mask value for input data
     22MASK.SET.VALUE  STR     FLAT            # set this bit in the output mask
     23
    2424COMBINE         STR     CLIPPED         # Statistic to use for combination
    2525MEAN            STR     ROBUST_MEDIAN   # Statistic to use to measure the mean
     
    8383        MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
    8484        MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
     85        MASK.SET.VALUE  STR     DARK            # set this bit in the output mask
    8586END
    8687
     
    9091        MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
    9192        MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
     93        MASK.SET.VALUE  STR     FLAT            # set this bit in the output mask
    9294END
    9395
  • trunk/ippconfig/recipes/ppStats.config

    r17911 r18563  
    33# Options governing statistics
    44SAMPLE          F32     0.1     # Fraction of cell to sample
    5 MASKVAL         STR     SAT,BAD # Mask value to use for statistics
     5
     6# Mask value to use for statistics.  this is only used for stand-alone
     7# operations.  ppStats library calls pass a mask value as needed
     8MASKVAL         STR     SAT,BAD
     9
    610
    711# Define the outputs as MULTI
  • trunk/ippconfig/recipes/psphot.config

    r18275 r18563  
    1515ZERO_POINT                          F32   25.000          # zero point used by DVO
    1616ZERO_PT                             F32   25.000          # zero point used by DVO
    17 
    18 MASKVAL                             STR   SAT,BAD,BLANK   # Mask these types of pixels
    1917
    2018OUTPUT.FORMAT                       STR   PS1_DEV_1
  • trunk/ippconfig/recipes/pswarp.config

    r15605 r18563  
    44GRID.NY                 S32     128             # Iso-astrom grid size in y (pixels)
    55INTERPOLATION.MODE      STR     LANCZOS3        # Interpolation mode to use
    6 MASK.IN                 STR     BAD,SAT         # Mask for input data
    7 MASK.POOR               STR     SUSPECT         # Mask for "poor" warped data
    8 MASK.BAD                STR     BLANK           # Mask for bad warped data
    96POOR.FRAC               F32     0.01            # Max fraction of bad flux for a "poor" warped pixel
    107ASTROM.SOURCE           STR     PSASTRO.OUTPUT.MEF      # Source file rule for astrometry, or NULL
Note: See TracChangeset for help on using the changeset viewer.