IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2010, 8:50:52 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/simtest_nebulous_branches
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/simtest_nebulous_branches

  • branches/simtest_nebulous_branches/ippconfig

  • branches/simtest_nebulous_branches/ippconfig/recipes/psphot.config

    r24879 r27840  
    22# these options turn on different inputs and/or outputs
    33SAVE.OUTPUT                         BOOL  TRUE
    4 SAVE.BACKMDL                        BOOL  FALSE
     4SAVE.BACKMDL                        BOOL  TRUE
    55SAVE.BACKMDL.STDEV                  BOOL  FALSE
    66SAVE.BACKGND                        BOOL  FALSE
    77SAVE.BACKSUB                        BOOL  FALSE
    88SAVE.RESID                          BOOL  FALSE
     9SAVE.PLOTS                          BOOL  FALSE
    910SAVE.PSF                            BOOL  TRUE
    1011LOAD.PSF                            BOOL  FALSE
    11 SAVE.PLOTS                          BOOL  FALSE
    1212
    1313# format for output CMF files
     
    1515
    1616# the zero point is used to set a basic scale for DVO
    17 # XXX it may not currently be read : double check this (EAM)
    18 ZERO_POINT                          F32   25.000          # zero point used by DVO
    19 ZERO_PT                             F32   25.000          # zero point used by DVO
     17ZERO_PT                             F32   25.000          # zero point used by DVO XXX deprecate this
    2018
    2119# these parameter govern how the background is measured
     
    2321BACKGROUND.YBIN                     S32   128             # size of background superpixels
    2422IMSTATS_NPIX                        S32   10000           # number of pixels to use for sky estimate boxes:
     23
     24# soften the errors for bright pixels:
     25SOFTEN.VARIANCE                     BOOL  FALSE
     26SOFTEN.VARIANCE.FRACTION            F32   0.0
    2527
    2628SKY_BIAS                            F32   0.0             # offset applied to measured sky (FOR TESTING)
     
    4345PEAKS_SMOOTH_SIGMA                  F32   1.0             # smoothing kernel sigma in pixels
    4446PEAKS_SMOOTH_NSIGMA                 F32   2.0             # smoothing kernel width in sigmas
    45 PEAKS_NSIGMA_LIMIT                  F32   25.0            # peak significance threshold
     47PEAKS_NSIGMA_LIMIT                  F32   20.0            # peak significance threshold
    4648PEAKS_NSIGMA_LIMIT_2                F32   5.0             # peak significance threshold
    47 PEAKS_NMAX                          S32   0               # on first pass, only keep NMAX peaks (0 == all)
    48 PEAKS_MIN_GAUSS                     F32   0.5             # Minimum valid fraction of kernel
     49PEAKS_NMAX                          S32   5000            # on first pass, only keep NMAX peaks (0 == all)
     50PEAKS_MIN_GAUSS                     F32   0.5             # On quick convolution, mask pixels for which the
     51                                                          # input pixels contribute less than this fraction of the flux
     52# parameters which adjust the footprint analysis
     53USE_FOOTPRINTS                      BOOL  TRUE            # use new pmFootprint peak packaging
     54FOOTPRINT_NPIXMIN                   S32   5               # Minimum size of a pmFootprint
     55FOOTPRINT_GROW_RADIUS               S32   3               # How much to grow bright footprints
     56FOOTPRINT_GROW_RADIUS_2             S32   5               # How much to grow faint footprints
     57FOOTPRINT_CULL_NSIGMA_DELTA         F32   4               # Cull peaks that aren't nsigma above coll to neighbour
     58FOOTPRINT_CULL_NSIGMA_MIN           F32   1               # Minimum height of colls in units of skyStdev
     59FOOTPRINT_CULL_NSIGMA_PAD           F32   0.01            # Fractional Padding for stdev
     60
     61# parameter for the simple deblending
     62DEBLEND_PEAK_FRACTION               F32   0.1
     63DEBLEND_SKY_NSIGMA                  F32   10.0
    4964
    5065# parameters to control the selection of the peak in the Sx,Sy plane
    5166MOMENTS_SCALE                       F32   0.25       
    52 MOMENTS_SN_MIN                      F32   10.0           # min S/N to measure moments
     67MOMENTS_SN_MIN                      F32   0.0             # min S/N to measure moments (default: measure all objects)
    5368MOMENTS_SX_MAX                      F32   50.0
    5469MOMENTS_SY_MAX                      F32   50.0
    5570MOMENTS_AR_MAX                      F32   1.5             # maximum axial ratio: 1 / AR < (sx / sy) < AR
    56 MOMENTS_MIN_PIXEL_SN                F32   0.0             # XXX caution on this: too high and we will excessively clip
    57 MOMENTS_GAUSS_SIGMA                 F32   4.0             # XXX TEST THIS: sigma in pixels (should be >> seeing equiv)
     71MOMENTS_GAUSS_SIGMA                 F32   4.0             # XXX this is now autoscaled
     72
     73# calculate difference stats?
     74DIFF_STATS                          BOOL  FALSE
    5875
    5976# basic object statistics
    6077SKY_INNER_RADIUS                    F32   15              # square annulus for local sky measurement
    6178SKY_OUTER_RADIUS                    F32   25              # square annulus for local sky measurement
    62 PSF_MOMENTS_RADIUS                  F32   3               # calculate initial source moments with this radius
    63 PSF_SN_LIM                          F32   50              # minimum S/N for stars used for PSF model
    64 PSF_MAX_NSTARS                      S32   200             # limit number of stars used for PSF model
     79PSF_MOMENTS_RADIUS                  F32   3               # XXX this is now autoscaled
     80PSF_SN_LIM                          F32   20              # minimum S/N for stars used for PSF model
     81PSF_MAX_NSTARS                      S32   500             # limit number of stars used for PSF model
    6582PSF_CLUMP_NSIGMA                    F32   1.5             # region of Sx,Sy plane to use for selecting PSF stars
    66 PSF_CLUMP_GRID_SCALE                F32   0.5             # size of Sx,Sy image pixel
     83PSF_CLUMP_GRID_SCALE                F32   0.2             # size of Sx,Sy image pixel
    6784
    6885PSF_CLUMP_NX                        S32   1               # subdivide image in to NX x NY regions for
     
    8097PSF_MODEL                           STR   PS_MODEL_GAUSS
    8198# PSF_MODEL                         STR   PS_MODEL_PGAUSS
    82 # PSF_MODEL                         STR   PS_MODEL_QGAUSS
    83 # PSF_MODEL                         STR   PS_MODEL_TGAUSS # not well tested, not very successful
    8499
    85100# PSF.TREND.MASK must be a 2D polynomial
     
    98113PSF.FAKE.ALLOW                      BOOL  FALSE           # Allow use of fake PSFs when having trouble?
    99114
    100 PSF_FIT_RADIUS                      F32   15.0            # fitting radius for test PSF model
     115PSF_FIT_RADIUS                      F32   15.0            # XXX this is now autoscaled
    101116PSF_REF_RADIUS                      F32   25.0            # aperture magnitudes are scaled via
    102                                          # curve-of-growth to this radius
     117                                                          # curve-of-growth to this radius
     118
     119PSF_FIT_RADIUS_SCALE                F32   7.0            # fitting radius for test PSF model
     120PSF_APERTURE_SCALE                  F32   4.5            # fitting radius for test PSF model
     121
    103122# PSF-like source model parameters
    104123PSF_FIT_NSIGMA                      F32   1.0             # significance for pixel included in fit
    105124PSF_FIT_PADDING                     F32   2.0             # extra annulus to use for fit
    106 PSF_SHAPE_NSIGMA                    F32   3.0             # max significance for shape variation
    107125PSF_MIN_SN                          F32   2.0             # reject objects below this significance
    108 PSF_MAX_CHI                         F32   50.0            # reject objects worse that this
     126PSF_MAX_CHI                         F32   50.0            # reject objects worse than this
    109127FULL_FIT_SN_LIM                     F32   50.0
    110128
     
    117135PSF.RESIDUALS.STATISTIC             STR   ROBUST_MEDIAN   # statistic to use for generating the residual
    118136PSF.RESIDUALS.SPATIAL_ORDER         S32   0               # fit spatial variations of the residuals at this order (0,1)
    119 PSF.RESIDUALS.PIX.SN                F32   5.0             # keep this pixel if residual is more significant than this
     137PSF.RESIDUALS.PIX.SN                F32   0.0             # keep this pixel if residual is more significant than this
     138PSF.RESIDUALS.RADIUS                F32   8.0             # keep this pixel if residual is more significant than this
    120139 
    121140# this model is used for approximate subtraction in the main object analysis step
    122141EXT_MODEL                           STR   PS_MODEL_QGAUSS
    123 EXT_MIN_SN                          F32   50.0            # fit galaxies above this S/N limit
    124142EXT_FIT_NSIGMA                      F32   1               # significance for pixel included in fit
    125143EXT_FIT_PADDING                     F32   5               # extra annulus to use for fit
    126144EXT_MOMENTS_RADIUS                  F32   31
     145EXT_FIT_MAX_RADIUS                  F32   128             # non-sensical to fit objects larger than the background mesh
    127146
    128147EXT_FIT_ITER                        S32   20              # Maximum number of fitting iterations for EXT
     
    132151EXTENDED_SOURCE_ANALYSIS            BOOL  FALSE  # perform any of the aperture-like measurements?
    133152EXTENDED_SOURCE_SN_LIM              F32   20.0
     153EXTENDED_SOURCE_RAW_RADIUS          BOOL  FALSE
    134154EXTENDED_SOURCE_PETROSIAN           BOOL  FALSE
    135155EXTENDED_SOURCE_ISOPHOTAL           BOOL  FALSE
     
    155175
    156176# define the annuli (in pixels) for surface brightness measurements
    157 @RADIAL.ANNULAR.BINS.LOWER           F32     0.0   5.0  10.0  20.0  40.0  80.0
    158 @RADIAL.ANNULAR.BINS.UPPER           F32     5.0  10.0  20.0  40.0  80.0 160.0
     177# @RADIAL.ANNULAR.BINS.LOWER           F32     0.0   5.0  10.0  20.0  40.0  80.0
     178# @RADIAL.ANNULAR.BINS.UPPER           F32     5.0  10.0  20.0  40.0  80.0 160.0
     179
     180# SDSS values:
     181@RADIAL.ANNULAR.BINS.LOWER           F32     0.00 0.56 1.69 2.59 4.41  7.51 11.58 18.58 28.55 45.50  70.51 110.53 172.49 269.52 420.51
     182@RADIAL.ANNULAR.BINS.UPPER           F32     0.56 1.69 2.59 4.41 7.51 11.58 18.58 28.55 45.50 70.51 110.53 172.49 269.52 420.51 652.50
    159183
    160184# Extended source fit parameters
     
    172196PETROSIAN_FLUX_RATIO                F32    0.1 # we measure out to where flux = R0 * FLUX_RATIO
    173197
    174 FITMODE                             STR   BLEND 
    175 DEBLEND_PEAK_FRACTION               F32   0.1
    176 DEBLEND_SKY_NSIGMA                  F32   10.0
    177 
    178198# APTREND                           STR   NONE, CONSTANT, SKYBIAS, SKYSAT, XY_LIN, SKY_XY_LIN, SKYSAT_XY_LIN, ALL
    179 MEASURE.APTREND                     BOOL  FALSE         ### Gene says there's bugs in this part
     199MEASURE.APTREND                     BOOL  TRUE
    180200APTREND                             STR   CONSTANT
    181 AP_MIN_SN                           F32   25.0
     201AP_MIN_SN                           F32   0.0 # measure apMags for all sources by default
    182202APTREND.NSTAR.MIN                   S32   5
    183203APTREND.ORDER.MAX                   S32   5
     
    196216
    197217IGNORE_GROWTH                       BOOL  FALSE
    198 CONSTANT_PHOTOMETRIC_WEIGHTS        BOOL  TRUE            # Should the photometric code [currently only ensemblePSF] refuse to weight each pixel by it's significance?
     218CONSTANT_PHOTOMETRIC_WEIGHTS        BOOL  FALSE
    199219INTERPOLATE_AP                      BOOL  TRUE
    200220
     
    207227NOISE.FACTOR                        F32   5.0
    208228NOISE.SIZE                          F32   2.0
    209 
    210 USE_FOOTPRINTS                      BOOL  F               # use new pmFootprint peak packaging
    211 FOOTPRINT_NPIXMIN                   S32   5               # Minimum size of a pmFootprint
    212 FOOTPRINT_NSIGMA_LIMIT              F32   20              # threshold for bright pmFootprint detection
    213 FOOTPRINT_NSIGMA_LIMIT_2            F32   4               # threshold for faint pmFootprint detection
    214 FOOTPRINT_GROW_RADIUS               S32   3               # How much to grow bright footprints
    215 FOOTPRINT_GROW_RADIUS_2             S32   5               # How much to grow faint footprints
    216 FOOTPRINT_CULL_NSIGMA_DELTA         F32   4               # Cull peaks that aren't nsigma above coll to neighbour
    217 FOOTPRINT_CULL_NSIGMA_MIN           F32   1               # Minimum height of colls in units of skyStdev
    218 FOOTPRINT_CULL_NSIGMA_PAD           F32   0.01            # Fractional Padding for stdev
    219229
    220230# alternate PSPHOT-type recipes
     
    261271
    262272PSPHOT.CR.NSIGMA.LIMIT              F32   3.0  # sources with crNsigma greater that this get tagged as likely cosmic rays
    263 PSPHOT.EXT.NSIGMA.LIMIT             F32   4.0  # sources with extNsigma greater that this get tagged as likely extended sources
     273PSPHOT.EXT.NSIGMA.LIMIT             F32   3.0  # sources with extNsigma greater that this get tagged as likely extended sources
     274PSPHOT.EXT.NSIGMA.MOMENTS           F32   3.0  # sources with extNsigma greater that this get tagged as likely extended sources
    264275PSPHOT.CR.GROW                      S32   1               # Number of pixels to grow CR mask
    265276PSPHOT.CR.NSIGMA.SOFTEN             F32   0.0025          # Softening parameter for weights
    266 
     277PSPHOT.CRMASK.XTEST                 S32   0
     278PSPHOT.CRMASK.YTEST                 S32   0
     279PSPHOT.CRMASK.APPLY                 BOOL  FALSE           # TEST THIS before enabling.
     280
     281# Detection efficiency
     282EFF.NUM                             S32   500                   # Number of fake sources per bin
     283@EFF.MAG                            F32   -2.0 -1.0 -0.5 -0.25 -0.1 -0.05 0.0 0.05 0.1 0.25 0.5 1.0 2.0 # Magnitude of fake sources relative to limit
     284
     285# stack photometry parameters
     286PSPHOT.STACK.MATCH.RADIUS           F32   1.0 # join detections from different images with this correlation radius (pixels)
    267287
    268288# Recipe overrides for CHIP
     
    294314        BACKGROUND.YBIN         S32     2400
    295315        IMSTATS_NPIX            S32     50000
    296 END
     316        BREAK_POINT             STR   ENSEMBLE     
     317        PEAKS_NMAX              S32   1000            # on first pass, only keep NMAX peak (0 == all)
     318        BACKGROUND.XBIN       S32   128             # size          of background superpixels
     319        BACKGROUND.YBIN          S32   128             # size of background superpixels
     320        SKY_STAT         STR   FITTED_MEAN_V4  # statistic used to measure background
     321END
Note: See TracChangeset for help on using the changeset viewer.