IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2010, 5:34:52 PM (16 years ago)
Author:
eugene
Message:

added STACKSTACK, WARPSTACK, and WARPWARP recipes to support different difference modes in these situations; provide different kernel set for DUAL vs SINGLE convolution modes; use 2n stride for faster processing

File:
1 edited

Legend:

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

    r29554 r29588  
    22
    33KERNEL.TYPE     STR     ISIS            # Kernel type to use (POIS|ISIS|SPAM|FRIES|GUNK|RINGS)
    4 KERNEL.SIZE     S32     10              # Kernel half-size (pixels)
     4KERNEL.SIZE     S32     15              # Kernel half-size (pixels)
    55SPATIAL.ORDER   S32     1               # Spatial polynomial order
    66REGION.SIZE     F32     0               # Iso-kernel region size (pixels)
    77SOURCE.RADIUS   F32     3.0             # Source matching radius (pixels)
    88STAMP.SPACING   F32     300             # Typical spacing between stamps (pixels)
    9 STAMP.FOOTPRINT S32     10              # Size of stamps (pixels)
     9STAMP.FOOTPRINT S32     15              # Size of stamps (pixels)
    1010STAMP.THRESHOLD F32     5               # Flux threshold for stamps (stdev above background)
    11 STRIDE          S32     100             # Size of convolution patches (pixels)
     11STRIDE          S32     128             # Size of convolution patches (pixels)
    1212ITER            S32     2               # Number of rejection iterations
    1313REJ             F32     2.5             # Rejection level (std dev)
     
    4242# for autoscaling, the above kernel widths are multiplied by the factor max(FWHM_1,FWHM_2) / SCALE.REF
    4343SCALE           BOOL    TRUE            # Scale kernel parameters by the seeing?
    44 SCALE.REF       F32     6.0             # FWHM reference for kernel parameter scaling
     44SCALE.REF       F32     6.0             # FWHM reference for kernel parameter scaling
    4545SCALE.MIN       F32     0.5             # Minimum scale value
    4646SCALE.MAX       F32     2.0             # Maximum scale value
     
    4949INNER           S32     5               # Inner half-size for SPAM and FRIES kernels
    5050RINGS.ORDER     S32     2               # Polynomial order for RINGS kernels
    51 PENALTY         F32     5.0e-7          # 4.0e-6 for the updated code from 2010.09.19
     51PENALTY         F32     1.0             # 4.0e-6 for the updated code from 2010.09.19
    5252BIN1            S32     4               # Binning factor for first level
    5353BIN2            S32     4               # Binning factor for second level
     
    6767INTERPOLATION   STR     LANCZOS3        # Interpolation mode for bad pixels
    6868
    69 DUAL            BOOL    TRUE            # Dual convolution?
     69DUAL            BOOL    FALSE           # Dual convolution?
    7070CONVOLVE.TARGET STR     SINGLE1         # convolution direction
    7171INVERSE         BOOL    FALSE           # Generate inverse subtraction?
     
    7575# Recipe overrides for STACK
    7676STACK   METADATA
    77         KERNEL.TYPE     STR     ISIS    # Kernel type
    7877END
    7978
    8079# Recipe overrides for DIFF
    8180DIFF    METADATA
     81END
     82
     83# Difference of two warps
     84WARPWARP        METADATA
     85        DUAL            BOOL    TRUE    # Dual convolution?
     86        INVERSE         BOOL    TRUE    # Generate inverse subtraction?
     87        PHOTOMETRY      BOOL    TRUE    # Perform photometry?
     88
     89        # penalty of 1.0
     90        # DUAL convolution is more sensitive to the number of kernels
     91        # do not provide as many orders as for SINGLE
     92        @ISIS.WIDTHS    F32     2.5  4.0  7.0   # Gaussian kernel FWHM values
     93        @ISIS.ORDERS    S32     2    2    2     # Polynomial orders for ISIS kernels
     94
     95        SCALE.REF       F32     12.0            # FWHM reference for kernel parameter scaling
     96        KERNEL.SIZE     S32     24              # Kernel half-size (pixels)
     97        STAMP.FOOTPRINT S32     24              # Size of stamps (pixels)
     98END
     99
     100# Difference of warp - stack
     101WARPSTACK       METADATA
     102        DUAL            BOOL    FALSE   # Dual convolution?
     103        INVERSE         BOOL    FALSE   # Generate inverse subtraction?
     104        PHOTOMETRY      BOOL    TRUE    # Perform photometry?
     105        CONVOLVE.TARGET STR     SINGLE2 # convolution direction
     106END
     107
     108# Difference of two stacks : uses SINGLE not DUAL convolution
     109STACKSTACK      METADATA
     110        DUAL            BOOL    FALSE   # Dual convolution?
     111        INVERSE         BOOL    FALSE   # Generate inverse subtraction?
     112        PHOTOMETRY      BOOL    TRUE    # Perform photometry?
     113        CONVOLVE.TARGET STR     SINGLE2 # convolution direction
     114END
     115
     116#PR image class
     117PR              METADATA
     118        PHOTOMETRY      BOOL    FALSE
    82119END
    83120
     
    97134DIFF_MAGICTEST_V0       METADATA
    98135        SPATIAL.ORDER   S32     0               # Spatial polynomial order
    99 END
    100 
    101 # Difference of two warps
    102 WARPWARP        METADATA
    103         INVERSE         BOOL    TRUE    # Generate inverse subtraction?
    104         PHOTOMETRY      BOOL    TRUE    # Perform photometry?
    105 END
    106 
    107 #PR image class
    108 PR              METADATA
    109         PHOTOMETRY      BOOL    FALSE
    110136END
    111137
Note: See TracChangeset for help on using the changeset viewer.