IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24116


Ignore:
Timestamp:
May 8, 2009, 12:33:34 PM (17 years ago)
Author:
eugene
Message:

MASK.SUSPECT -> MASK.SUSPECT.MODE, add MASK.SUSPECT.MIN & MASK.SUSPECT.MAX

File:
1 edited

Legend:

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

    r23471 r24116  
    11# Recipe configuration for ppMerge
    22
    3 ROWS            S32     128             # Number of rows to read at once
    4 ELECTRONS       F32     100.0           # Minimum number of electrons for useful signal
    5 SAMPLE          S32     100000          # Sampling factor for measuring the background
    6 REJ             F32     3.0             # Rejection threshold (sigma)
    7 ITER            S32     2               # Number of rejection iterations
    8 FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
    9 FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
    10 NKEEP           S32     5               # Minimum number of pixels in stack to keep
    11 VARIANCES       BOOL    FALSE           # Use image variances in combination?
    12 FRINGE.NUM      S32     10000           # Number of fringe regions
    13 FRINGE.SIZE     S32     5               # Half-size of fringe regions
    14 FRINGE.XSMOOTH  S32     5               # Number of smoothing regions in x
    15 FRINGE.YSMOOTH  S32     11              # Number of smoothing regions in y
    16 CTE.MIN         F32     0.2             # regions lower than this in the CTE image are masked
    17 SHUTTER.SIZE    S32     128             # Size for shutter measurement regions
    18 MASK.SUSPECT    F32     5.0             # Threshold for suspect pixels (sigma)
    19 MASK.BAD        F32     0.2             # Threshold for bad pixels
    20 MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
    21 MASK.CHIPSTATS  BOOL    TRUE            # Measure stats for masking by chip (otherwise by readout)?
    22 MASK.GROW       S32     0               # Grow bad pixels by this radius
    23 MASK.SET.VALUE  STR     FLAT            # set this bit in the output mask
     3ROWS                S32     128             # Number of rows to read at once
     4ELECTRONS           F32     100.0           # Minimum number of electrons for useful signal
     5SAMPLE              S32     100000          # Sampling factor for measuring the background
     6REJ                 F32     3.0             # Rejection threshold (sigma)
     7ITER                S32     2               # Number of rejection iterations
     8FRACHIGH            F32     0.0             # Fraction of high pixels to reject immediately
     9FRACLOW             F32     0.0             # Fraction of low pixels to reject immediately
     10NKEEP               S32     5               # Minimum number of pixels in stack to keep
     11VARIANCES           BOOL    FALSE           # Use image variances in combination?
     12FRINGE.NUM          S32     10000           # Number of fringe regions
     13FRINGE.SIZE         S32     5               # Half-size of fringe regions
     14FRINGE.XSMOOTH      S32     5               # Number of smoothing regions in x
     15FRINGE.YSMOOTH      S32     11              # Number of smoothing regions in y
     16CTE.MIN             F32     0.2             # regions lower than this in the CTE image are masked
     17SHUTTER.SIZE        S32     128             # Size for shutter measurement regions
    2418
    25 COMBINE         STR     CLIPPED         # Statistic to use for combination
    26 MEAN            STR     ROBUST_MEDIAN   # Statistic to use to measure the mean
    27 STDEV           STR     ROBUST_STDEV    # Statistic to use to measure the stdev
     19COMBINE             STR     CLIPPED         # Statistic to use for combination
     20MEAN                STR     ROBUST_MEDIAN   # Statistic to use to measure the mean
     21STDEV               STR     ROBUST_STDEV    # Statistic to use to measure the stdev
    2822
    29 MASK.SMOOTH.SUSPECT BOOL TRUE           # smooth the suspect-pixel image before making mask
    30 MASK.SMOOTH.SCALE   F32  3.0            # sigma (pixels) of smoothing kernel
     23MASK.SUSPECT.MODE   STR     SIGMA           # how to identify suspect pixels: SIGMA, VALUE
     24MASK.SUSPECT.MIN    F32    -100.0           # for MASK.SUSPECT.MODE == VALUE, below this is suspect
     25MASK.SUSPECT.MAX    F32    +100.0           # for MASK.SUSPECT.MODE == VALUE, above this is suspect
     26MASK.SUSPECT.SIGMA  F32     5.0             # Threshold for suspect pixels (sigma)
    3127
    32 STATS.BY.CHIP   BOOL    TRUE            # measure stats for masking by chip (or by readout)
    33 MASK.GROW.NPIX  S32     3               # measure stats for masking by chip (or by readout)
     28MASK.SMOOTH.SUSPECT BOOL    TRUE            # smooth the suspect-pixel image before making mask
     29MASK.SMOOTH.SCALE   F32     3.0             # sigma (pixels) of smoothing kernel
     30
     31MASK.BAD            F32     0.2             # Threshold for bad pixels
     32MASK.MODE           STR     FRACTION        # Mode for identifying bad pixels in the suspect map
     33MASK.CHIPSTATS      BOOL    TRUE            # Measure stats for masking by chip (otherwise by readout)?
     34MASK.GROW           S32     0               # Grow bad pixels by this radius
     35MASK.SET.VALUE      STR     FLAT            # set this bit in the output mask
     36
     37STATS.BY.CHIP       BOOL    TRUE            # measure stats for masking by chip (or by readout)
     38MASK.GROW.NPIX      S32     3               # measure stats for masking by chip (or by readout)
    3439
    3540# Ordinates for fitting dark current
    36 DARK.ORDINATES  METADATA
    37         CELL.DARKTIME   S32     1       # Traditional dark current term
     41DARK.ORDINATES  METADATA
     42        CELL.DARKTIME   S32     1       # Traditional dark current term
    3843END
    39 DARK.NORM       STR     NONE            # Dark normalisation concept
     44DARK.NORM       STR     NONE            # Dark normalisation concept
    4045
    4146# Bias combination --- don't want min/max rejection
    42 PPMERGE_BIAS    METADATA
    43         REJ             F32     3.0             # Rejection threshold (sigma)
    44         ITER            S32     2               # Number of rejection iterations
    45         FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
    46         FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
    47         VARIANCES       BOOL    FALSE           # Use image variances?
    48         COMBINE         STR     CLIPPED         # Statistic to use for combination:
     47PPMERGE_BIAS    METADATA
     48        REJ             F32     3.0             # Rejection threshold (sigma)
     49        ITER            S32     2               # Number of rejection iterations
     50        FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
     51        FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
     52        VARIANCES       BOOL    FALSE           # Use image variances?
     53        COMBINE         STR     CLIPPED         # Statistic to use for combination:
    4954END
    5055
     
    5257# Dark combination --- don't want min/max rejection
    5358# More aggressive clipping than bias, so as to remove CRs
    54 PPMERGE_DARK    METADATA
    55         REJ             F32     3.0             # Rejection threshold (sigma)
    56         ITER            S32     2               # Number of rejection iterations
    57         FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
    58         FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
    59         VARIANCES       BOOL    TRUE            # Use image variances?
    60         COMBINE         STR     CLIPPED         # Statistic to use for combination:
     59PPMERGE_DARK    METADATA
     60        REJ             F32     3.0             # Rejection threshold (sigma)
     61        ITER            S32     2               # Number of rejection iterations
     62        FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
     63        FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
     64        VARIANCES       BOOL    TRUE            # Use image variances?
     65        COMBINE         STR     CLIPPED         # Statistic to use for combination:
    6166END
    6267
    6368# Flat combination --- use min/max rejection
    64 PPMERGE_FLAT    METADATA
    65         REJ             F32     3.0             # Rejection threshold (sigma)
    66         ITER            S32     1               # Number of rejection iterations
    67         FRACHIGH        F32     0.3             # Fraction of high pixels to reject immediately
    68         FRACLOW         F32     0.1             # Fraction of low pixels to reject immediately
    69         NKEEP           S32     5               # Minimum number of pixels in stack to keep
    70         VARIANCES       BOOL    TRUE            # Use image variances?
    71         COMBINE         STR     MEAN            # Statistic to use for combination:
     69PPMERGE_FLAT    METADATA
     70        REJ             F32     3.0             # Rejection threshold (sigma)
     71        ITER            S32     1               # Number of rejection iterations
     72        FRACHIGH        F32     0.3             # Fraction of high pixels to reject immediately
     73        FRACLOW         F32     0.1             # Fraction of low pixels to reject immediately
     74        NKEEP           S32     5               # Minimum number of pixels in stack to keep
     75        VARIANCES       BOOL    TRUE            # Use image variances?
     76        COMBINE         STR     MEAN            # Statistic to use for combination:
    7277END
    7378
    7479
    7580# Fringe combination --- already included in default, above
    76 PPMERGE_FRINGE  METADATA
    77         FRACHIGH        F32     0.1             # Fraction of high pixels to reject immediately
    78         VARIANCES       BOOL    TRUE            # Use image variances?
     81PPMERGE_FRINGE  METADATA
     82        FRACHIGH        F32     0.1             # Fraction of high pixels to reject immediately
     83        VARIANCES       BOOL    TRUE            # Use image variances?
    7984END
    8085
    8186# Mask generation --- already included in default, above
    8287PPMERGE_DARKMASK METADATA
    83         ITER            S32     2               # Number of iterations
    84         MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
    85         MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
    86         MASK.SET.VALUE  STR     DARK            # set this bit in the output mask
     88        ITER            S32     2               # Number of iterations
     89        MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
     90        MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
     91        MASK.SET.VALUE  STR     DARK            # set this bit in the output mask
    8792END
    8893
    8994# Mask generation --- already included in default, above
    9095PPMERGE_FLATMASK METADATA
    91         ITER            S32     2               # Number of iterations
    92         MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
    93         MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
    94         MASK.SET.VALUE  STR     FLAT            # set this bit in the output mask
     96        ITER            S32     2               # Number of iterations
     97        MASK.BAD        F32     0.2             # Threshold for bad pixels (sigma)
     98        MASK.MODE       STR     FRACTION        # Mode for identifying bad pixels in the suspect map
     99        MASK.SET.VALUE  STR     FLAT            # set this bit in the output mask
    95100END
    96101
     
    98103# but it then sets a mask based on the resulting data values (using CTE.MIN)
    99104PPMERGE_CTEMASK METADATA
    100         REJ             F32     3.0             # Rejection threshold (sigma)
    101         ITER            S32     2               # Number of rejection iterations
    102         FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
    103         FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
    104         VARIANCES       BOOL    FALSE           # Use image variances?
    105         COMBINE         STR     CLIPPED         # Statistic to use for combination:
    106         CTE.MIN         F32     0.2             # regions lower than this in the CTE image are masked
    107         MASK.SET.VALUE  STR     CTE             # set this bit in the output mask
     105        REJ             F32     3.0             # Rejection threshold (sigma)
     106        ITER            S32     2               # Number of rejection iterations
     107        FRACHIGH        F32     0.0             # Fraction of high pixels to reject immediately
     108        FRACLOW         F32     0.0             # Fraction of low pixels to reject immediately
     109        VARIANCES       BOOL    FALSE           # Use image variances?
     110        COMBINE         STR     CLIPPED         # Statistic to use for combination:
     111        CTE.MIN         F32     0.2             # regions lower than this in the CTE image are masked
     112        MASK.SET.VALUE  STR     CTE             # set this bit in the output mask
    108113END
    109114
    110115# Shutter generation --- already included in default, above
    111 PPMERGE_SHUTTER METADATA
    112         REJ             F32     2.0             # Rejection threshold (sigma)
    113         ITER            S32     1               # Number of rejection iterations
     116PPMERGE_SHUTTER METADATA
     117        REJ             F32     2.0             # Rejection threshold (sigma)
     118        ITER            S32     1               # Number of rejection iterations
    114119END
Note: See TracChangeset for help on using the changeset viewer.