IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12376


Ignore:
Timestamp:
Mar 8, 2007, 9:28:54 PM (19 years ago)
Author:
eugene
Message:

minimize duplicated psphot.config entries

Location:
trunk/ippconfig
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/ctio_mosaic2/psphot.config

    r10871 r12376  
    11
    2 # these options turn on different inputs and/or outputs
    3 SAVE.BACKMDL    BOOL    FALSE
    4 SAVE.BACKGND    BOOL    FALSE
    5 SAVE.BACKSUB    BOOL    FALSE
     2# turn these on to see specific outputs
     3#SAVE.BACKMDL   BOOL    TRUE
     4#SAVE.BACKGND   BOOL    TRUE
     5#SAVE.BACKSUB   BOOL    TRUE
    66SAVE.RESID      BOOL    TRUE
    7 SAVE.PSF        BOOL    FALSE
    8 LOAD.PSF        BOOL    FALSE
    9 SAVE.PLOTS      BOOL    TRUE
     7#SAVE.PSF       BOOL    TRUE
     8#LOAD.PSF       BOOL    FALSE
    109
    11 # the zero point is used to set a basic scale for DVO
    12 # XXX it may not currently be read : double check this (EAM)
    13 ZERO_POINT          F32  25.000          # zero point used by DVO
     10IMSTATS_NPIX        S32  1000            # number of pixels to use for sky estimate boxes:
    1411
    15 # these parameter govern how the background is measured
    16 BACKGROUND_XBIN     S32   128            # size of background superpixels
    17 BACKGROUND_YBIN     S32   128            # size of background superpixels
    18 IMSTATS_NPIX        S32  2000            # number of pixels to use for sky estimate boxes:
    19 
    20 SKY_BIAS            F32  0.0             # offset applied to measured sky (FOR TESTING)
    21 SKY_FIT_ORDER       S32  0
    22 SKY_FIT_LINEAR      BOOL FALSE
    23 SKY_STAT            STR  FITTED_MEAN     # statistic used to measure background
    24 # allowed values for SKY_STAT:
    25 # SAMPLE_MEAN, SAMPLE_MEDIAN, CLIPPED_MEAN, ROBUST_MEAN, ROBUST_QUARTILE, FITTED_MEAN
    26 
    27 # masking parameters (XXX EAM : rework this to use psRegion like ANALYSIS_REGION)
    28 XMIN                F32   0              # minimum valid x-coord
    29 XMAX                F32   0              # maximum valid x-coord
    30 YMIN                F32   0              # minimum valid y-coord
    31 YMAX                F32   0              # maximum valid y-coord
    32 SATURATION          F32   64000          # saturation level on this chip
    33 
    34 # peak finding
    35 PEAKS_SMOOTH_SIGMA  F32  1.0             # smoothing kernel sigma in pixels
    36 PEAKS_SMOOTH_NSIGMA F32  2.0             # smoothing kernel width in sigmas
    37 PEAKS_NSIGMA_LIMIT  F32  50.0            # peak significance threshold
    38 
    39 # parameters to control the selection of the peak in the Sx,Sy plane
    40 MOMENTS_SCALE       F32   0.1
    41 MOMENTS_SN_MIN      F32   10.0
    42 MOMENTS_SX_MAX      F32   3.0
    43 MOMENTS_SY_MAX      F32   3.0
    44 MOMENTS_AR_MAX      F32   1.5            # maximum axial ratio: 1 / AR < (sx / sy) < AR
    45 
    46 # basic object statistics
    47 SKY_INNER_RADIUS    F32  15              # square annulus for local sky measurement
    48 SKY_OUTER_RADIUS    F32  25              # square annulus for local sky measurement
    49 PSF_MOMENTS_RADIUS  F32  3               # calculate initial source moments with this radius
    50 PSF_SN_LIM          F32  50              # minimum S/N for stars used for PSF model
     12PSF_SN_LIM          F32  100             # minimum S/N for stars used for PSF model
    5113PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model
    5214
    5315# PSF model parameters : choose the PSF model
    5416# list as many PSF_MODEL options as desired
     17# if you want to list multiple entries, uncomment 'MULTI' here
    5518# PSF_MODEL           MULTI
    56 PSF_MODEL           STR  PS_MODEL_GAUSS
     19PSF_MODEL           STR  PS_MODEL_QGAUSS
     20# PSF_MODEL           STR  PS_MODEL_GAUSS
    5721# PSF_MODEL           STR  PS_MODEL_PGAUSS
    58 # PSF_MODEL           STR  PS_MODEL_QGAUSS
    5922# PSF_MODEL           STR  PS_MODEL_TGAUSS  ## not well tested, not very successful
    6023
    61 # PSF.TREND.MASK must be a 2D polynomial
    62 # the specified values are ignored but define the active components of the polynomial
    63 PSF.TREND.MASK  METADATA 
    64    NORDER_X         S32       2                # number of x orders
    65    NORDER_Y         S32       2                # number of y orders
    66    VAL_X00_Y00      F64       1                # polynomial coefficient
    67    VAL_X01_Y00      F64       1                # polynomial coefficient
    68    VAL_X00_Y01      F64       1                # polynomial coefficient
    69    VAL_X02_Y00      F64       1                # polynomial coefficient
    70    VAL_X01_Y01      F64       1                # polynomial coefficient
    71    VAL_X00_Y02      F64       1                # polynomial coefficient
    72    NELEMENTS        S32       6                # number of unmasked components
    73 END  # folder for 2D polynomial
    74 
    75 PSF_FIT_RADIUS      F32  15.0            # fitting radius for test PSF model
    76 PSF_REF_RADIUS      F32  25.0            # aperture magnitudes are scaled via
    77                                          # curve-of-growth to this radius
    78 # PSF-like source model parameters
    79 PSF_FIT_NSIGMA       F32  1.0            # significance for pixel included in fit
    80 PSF_FIT_PADDING      F32  2.0            # extra annulus to use for fit
    81 PSF_SHAPE_NSIGMA     F32  3.0            # max significance for shape variation
    82 PSF_MIN_SN           F32  2.0            # reject objects below this significance
    83 PSF_MAX_CHI          F32  50.0           # reject objects worse that this
    84 FULL_FIT_SN_LIM      F32  10.0
    85 
    86 # EXTended source model parameters
    87 EXT_MODEL            STR  PS_MODEL_PGAUSS
     24MOMENTS_SN_MIN      F32  20.0           # min S/N to measure moments
    8825EXT_MIN_SN           F32  50.0           # fit galaxies above this S/N limit
    89 EXT_FIT_NSIGMA       F32  1              # significance for pixel included in fit
    90 EXT_FIT_PADDING      F32  5              # extra annulus to use for fit
    91 EXT_MOMENTS_RADIUS   F32  9
    92 
    93 FITMODE              STR  BLEND
    94 DEBLEND_PEAK_FRACTION   F32 0.1
    95 DEBLEND_SKY_NSIGMA      F32 10.0
    96 
    97 # APTREND            STR  NONE, CONSTANT, SKYBIAS, SKYSAT, XY_LIN, SKY_XY_LIN, SKYSAT_XY_LIN, ALL
    98 APTREND              STR  CONSTANT
     26FULL_FIT_SN_LIM      F32  50.0
    9927AP_MIN_SN            F32  25.0
    100 
    101 # test options
    102 # BREAK_POINT may be one of (PEAKS, MOMENTS, PSFMODEL, ENSEMBLE)
    103 # BREAK_POINT           STR  MOMENTS
    104 # PEAKS_OUTPUT_FILE   STR  peaks.dat
    105 # MOMENTS_OUTPUT_FILE STR  moments.dat
    106 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
    107 # POISSON_ERRORS      BOOL TRUE
    108 
    109 # optional parameter to limit the actual analysis to a fraction of the image
    110 # do not uncomment this in the master psphot.config file
    111 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
    112 
    113 IGNORE_GROWTH BOOL FALSE
    114 CONSTANT_PHOTOMETRIC_WEIGHTS BOOL TRUE # Should the photometric code [currently only ensemblePSF] refuse to weight each pixel by it's significance?
    115 INTERPOLATE_AP BOOL TRUE
    116 POISSON_ERRORS BOOL TRUE
  • trunk/ippconfig/isp/psphot.config

    r11573 r12376  
    11
    2 SAVE.OUTPUT     BOOL    TRUE
     2# turn these on to see specific outputs
    33#SAVE.BACKMDL   BOOL    TRUE
    44#SAVE.BACKGND   BOOL    TRUE
     
    77#SAVE.PSF       BOOL    TRUE
    88
    9 #LOAD.PSF       BOOL    FALSE
    10 
    11 # image noise parameters
    12 RDNOISE             STR  HD:RDNOISE      # read-noise in electrons
    13 GAIN                STR  HD:GAIN         # electrons / DN
    14 ZERO_POINT          F32  25.000          # zero point used by DVO
    15 
    16 # background model :
    17 BACKGROUND.XBIN     S32   128
    18 BACKGROUND.YBIN     S32   128
    19 
    20 # masking parameters
    21 XMIN                F32   2              # minimum valid x-coord
    22 XMAX                F32   -2             # maximum valid x-coord
    23 YMIN                F32   2              # minimum valid y-coord
    24 YMAX                F32   -2             # maximum valid y-coord
    25 SATURATION          F32  50000           # saturation level on this chip
    26 MIN_VALID_PIXEL     F32      1           # saturation level on this chip
    27 
    289# image statistics parameters
    2910IMSTATS_NPIX        S32  1000            # number of pixels to use for sky estimate boxes:
    3011
    31 # peak finding
    32 PEAKS_SMOOTH_SIGMA   F32  1.0            # smoothing kernel sigma in pixels
    33 PEAKS_SMOOTH_NSIGMA  F32  3.0            # smoothing kernel width in sigmas
    34 PEAKS_NSIGMA_LIMIT   F32 25.0            # peak significance threshold
    35 PEAKS_NSIGMA_LIMIT_2 F32  5.0            # peak significance threshold
    36 
    37 # basic object statistics
    38 SKY_INNER_RADIUS    F32  15              # square annulus for local sky measurement
    39 SKY_OUTER_RADIUS    F32  25              # square annulus for local sky measurement
    40 PSF_MOMENTS_RADIUS  F32  3               # calculate initial source moments with this radius
    4112PSF_SN_LIM          F32  25              # minimum S/N for stars used for PSF model
    42 PSF_CLUMP_NSIGMA    F32  3               # size of PSF clump in image (use a larger number for images with large PSF variations)
    4313PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model
    4414
     
    5121# PSF_MODEL           STR  PS_MODEL_TEST1
    5222
    53 MOMENTS_SCALE       F32   0.1
    5423MOMENTS_SN_MIN      F32   10.0
    55 MOMENTS_SX_MAX      F32   3.0
    56 MOMENTS_SY_MAX      F32   3.0
    57 MOMENTS_AR_MAX      F32   5.0            # maximum axial ratio: 1 / AR < (sx / sy) < AR
    58 
    59 PSF_FIT_RADIUS      F32   9.0            # fitting radius for test PSF model
    60 PSF_REF_RADIUS      F32  11.0            # aperture magnitudes are scaled via
    61                                          # curve-of-growth to this radius
    62 # PSF-like source model parameters
    63 PSF_FIT_NSIGMA       F32  1.0            # significance for pixel included in fit
    64 PSF_FIT_PADDING      F32  2.0            # extra annulus to use for fit
    65 PSF_SHAPE_NSIGMA     F32  3.0            # max significance for shape variation
    66 PSF_MIN_SN           F32  2.0            # reject objects below this significance
    67 PSF_MAX_CHI          F32  50.0           # reject objects worse than this
    68 
    69 # EXTended source model parameters
    70 EXT_MODEL            STR  PS_MODEL_PGAUSS
    7124EXT_MIN_SN           F32  50.0           # fit galaxies above this S/N limit
    72 EXT_FIT_NSIGMA       F32  1              # significance for pixel included in fit
    73 EXT_FIT_PADDING      F32  10             # extra annulus to use for fit
    74 EXT_MOMENTS_RADIUS   F32  9
    75 
    76 FITMODE              STR  BLEND
    77 DEBLEND_PEAK_FRACTION   F32 0.1
    78 DEBLEND_SKY_NSIGMA      F32 10.0
    79 
    80 # APTREND            STR CONSTANT
    81 APTREND              STR  ALL
    82 # APTREND            STR  SKYSAT_XY_LIN
    83 # APTREND            STR  SKYSAT
    84 # APTREND            STR  SKYBIAS
    85 APTREND.XORDER       S32  2
    86 APTREND.YORDER       S32  2
    8725FULL_FIT_SN_LIM      F32  50.0
    8826AP_MIN_SN            F32  20.0
    89 MAX_AP_OFFSET        F32  0.5
    90 CONSTANT_PHOTOMETRIC_WEIGHTS BOOL TRUE  # Should the photometric code [currently only ensemblePSF]
    91                                         # refuse to weight each pixel by it's significance?
    92 
    93 # test options
    94 
    95 # BREAK_POINT may be one of (PEAKS, MOMENTS, PSFMODEL, ENSEMBLE)
    96 BREAK_POINT         STR  ENSEMBLE
    97 
    98 # PEAKS_OUTPUT_FILE   STR  peaks.dat
    99 # MOMENTS_OUTPUT_FILE STR  moments.dat
    100 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
    101 # POISSON_ERRORS      BOOL TRUE
    102 # SKY_BIAS            F32  0.0
    10327
    10428# PSFTREND must be a 2D polynomial
  • trunk/ippconfig/megacam/psphot.config

    r7532 r12376  
    77#LOAD.PSF       BOOL    FALSE
    88
    9 # image noise parameters
    10 RDNOISE             STR  HD:RDNOISE      # read-noise in electrons
    11 GAIN                STR  HD:GAIN         # electrons / DN
    12 ZERO_POINT          F32  25.000          # zero point used by DVO
    13 
    14 # background model :
    15 BACKGROUND.XBIN     S32   128
    16 BACKGROUND.YBIN     S32   128
    17 
    189# masking parameters
    1910XMIN                F32   2              # minimum valid x-coord
     
    2112YMIN                F32   2              # minimum valid y-coord
    2213YMAX                F32   -2             # maximum valid y-coord
    23 SATURATION          F32  50000           # saturation level on this chip
    24 MIN_VALID_PIXEL     F32      1           # saturation level on this chip
    2514
    2615# image statistics parameters
    2716IMSTATS_NPIX        S32  1000            # number of pixels to use for sky estimate boxes:
    2817
    29 # peak finding
    30 PEAKS_SMOOTH_SIGMA  F32  1.0             # smoothing kernel sigma in pixels
    31 PEAKS_SMOOTH_NSIGMA F32  3.0             # smoothing kernel width in sigmas
    32 # PEAKS_NSIGMA_LIMIT  F32  10.0                  # peak significance threshold
    33 PEAKS_NSIGMA_LIMIT  F32  25.0            # peak significance threshold
    34 
    35 # basic object statistics
    36 SKY_INNER_RADIUS    F32  15              # square annulus for local sky measurement
    37 SKY_OUTER_RADIUS    F32  25              # square annulus for local sky measurement
    38 PSF_MOMENTS_RADIUS  F32  3               # calculate initial source moments with this radius
    3918PSF_SN_LIM          F32  100             # minimum S/N for stars used for PSF model
    4019PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model
     
    4221# PSF model parameters : choose the PSF model
    4322# list as many PSF_MODEL options as desired
     23# if you want to list multiple entries, uncomment 'MULTI' here
    4424# PSF_MODEL           MULTI
    4525PSF_MODEL           STR  PS_MODEL_QGAUSS
     
    4828# PSF_MODEL           STR  PS_MODEL_TGAUSS  ## not well tested, not very successful
    4929
    50 MOMENTS_SCALE       F32   0.1
    5130MOMENTS_SN_MIN      F32   30.0
    52 MOMENTS_SX_MAX      F32   3.0
    53 MOMENTS_SY_MAX      F32   3.0
    54 MOMENTS_AR_MAX      F32   1.5            # maximum axial ratio: 1 / AR < (sx / sy) < AR
    55 
    56 PSF_FIT_RADIUS      F32  15.0            # fitting radius for test PSF model
    57 PSF_REF_RADIUS      F32  25.0            # aperture magnitudes are scaled via
    58 
    59 # PSF-like source model parameters
    60 PSF_FIT_NSIGMA       F32  1.0            # significance for pixel included in fit
    61 PSF_FIT_PADDING      F32  5.0            # extra annulus to use for fit
    62 PSF_SHAPE_NSIGMA     F32  3.0            # max significance for shape variation
    63 PSF_MIN_SN           F32  2.0            # reject objects below this significance
    64 PSF_MAX_CHI          F32  50.0           # reject objects worse that this
    65 
    66 # EXTended source model parameters
    67 EXT_MODEL            STR  PS_MODEL_PGAUSS
    6831EXT_MIN_SN           F32  50.0           # fit galaxies above this S/N limit
    69 EXT_FIT_NSIGMA       F32  1              # significance for pixel included in fit
    70 EXT_FIT_PADDING      F32  5              # extra annulus to use for fit
    71 EXT_MOMENTS_RADIUS   F32  9
    72 
    73 FITMODE              STR  BLEND
    74 DEBLEND_PEAK_FRACTION   F32 0.1
    75 DEBLEND_SKY_NSIGMA      F32 10.0
    76 
    77 APTREND              STR SKYSAT
    7832FULL_FIT_SN_LIM      F32  50.0
    7933AP_MIN_SN            F32  50.0
    8034
    81 # BREAK_POINT STR PEAKS
    82 # PEAKS_OUTPUT_FILE STR peaks.dat
    83 # MOMENTS_OUTPUT_FILE STR moments.dat
    84 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
  • trunk/ippconfig/ucam/psphot.config

    r8825 r12376  
    11
     2# turn these on to see specific outputs
    23#SAVE.BACKMDL   BOOL    TRUE
    34#SAVE.BACKGND   BOOL    TRUE
    45#SAVE.BACKSUB   BOOL    TRUE
    5 #SAVE.RESID     BOOL    TRUE
     6SAVE.RESID      BOOL    TRUE
    67#SAVE.PSF       BOOL    TRUE
    78#LOAD.PSF       BOOL    FALSE
    89
    9 # image noise parameters
    10 RDNOISE             STR  HD:RDNOISE      # read-noise in electrons
    11 GAIN                STR  HD:GAIN         # electrons / DN
    12 ZERO_POINT          F32  25.000          # zero point used by DVO
    13 
    14 # background model :
    15 BACKGROUND.XBIN     S32   128
    16 BACKGROUND.YBIN     S32   128
    17 
    18 # masking parameters
    19 XMIN                F32   2              # minimum valid x-coord
    20 XMAX                F32   -2             # maximum valid x-coord
    21 YMIN                F32   2              # minimum valid y-coord
    22 YMAX                F32   -2             # maximum valid y-coord
    23 SATURATION          F32  50000           # saturation level on this chip
    24 MIN_VALID_PIXEL     F32      1           # saturation level on this chip
    25 
    26 # image statistics parameters
    2710IMSTATS_NPIX        S32  1000            # number of pixels to use for sky estimate boxes:
    2811
    29 # peak finding
    30 PEAKS_SMOOTH_SIGMA  F32  1.0             # smoothing kernel sigma in pixels
    31 PEAKS_SMOOTH_NSIGMA F32  3.0             # smoothing kernel width in sigmas
    32 # PEAKS_NSIGMA_LIMIT  F32  10.0                  # peak significance threshold
    33 PEAKS_NSIGMA_LIMIT  F32  25.0            # peak significance threshold
    34 
    35 # basic object statistics
    36 SKY_INNER_RADIUS    F32  15              # square annulus for local sky measurement
    37 SKY_OUTER_RADIUS    F32  25              # square annulus for local sky measurement
    38 PSF_MOMENTS_RADIUS  F32  3               # calculate initial source moments with this radius
    3912PSF_SN_LIM          F32  100             # minimum S/N for stars used for PSF model
    4013PSF_MAX_NSTARS      S32  300             # limit number of stars used for PSF model
     
    4215# PSF model parameters : choose the PSF model
    4316# list as many PSF_MODEL options as desired
     17# if you want to list multiple entries, uncomment 'MULTI' here
    4418# PSF_MODEL           MULTI
    4519PSF_MODEL           STR  PS_MODEL_QGAUSS
     
    4822# PSF_MODEL           STR  PS_MODEL_TGAUSS  ## not well tested, not very successful
    4923
    50 MOMENTS_SCALE       F32   0.1
    51 MOMENTS_SN_MIN      F32   30.0
    52 MOMENTS_SX_MAX      F32   3.0
    53 MOMENTS_SY_MAX      F32   3.0
    54 MOMENTS_AR_MAX      F32   1.5            # maximum axial ratio: 1 / AR < (sx / sy) < AR
    55 
    56 PSF_FIT_RADIUS      F32  15.0            # fitting radius for test PSF model
    57 PSF_REF_RADIUS      F32  25.0            # aperture magnitudes are scaled via
    58 
    59 # PSF-like source model parameters
    60 PSF_FIT_NSIGMA       F32  1.0            # significance for pixel included in fit
    61 PSF_FIT_PADDING      F32  5.0            # extra annulus to use for fit
    62 PSF_SHAPE_NSIGMA     F32  3.0            # max significance for shape variation
    63 PSF_MIN_SN           F32  2.0            # reject objects below this significance
    64 PSF_MAX_CHI          F32  50.0           # reject objects worse that this
    65 
    66 # EXTended source model parameters
    67 EXT_MODEL            STR  PS_MODEL_PGAUSS
     24MOMENTS_SN_MIN      F32  20.0           # min S/N to measure moments
    6825EXT_MIN_SN           F32  50.0           # fit galaxies above this S/N limit
    69 EXT_FIT_NSIGMA       F32  1              # significance for pixel included in fit
    70 EXT_FIT_PADDING      F32  5              # extra annulus to use for fit
    71 EXT_MOMENTS_RADIUS   F32  9
    72 
    73 FITMODE              STR  BLEND
    74 DEBLEND_PEAK_FRACTION   F32 0.1
    75 DEBLEND_SKY_NSIGMA      F32 10.0
    76 
    77 APTREND              STR SKYSAT
    7826FULL_FIT_SN_LIM      F32  50.0
    79 AP_MIN_SN            F32  50.0
    80 
    81 # BREAK_POINT STR PEAKS
    82 # PEAKS_OUTPUT_FILE STR peaks.dat
    83 # MOMENTS_OUTPUT_FILE STR moments.dat
    84 # ANALYSIS_REGION     STR  [1000:1600,2800:3400]
     27AP_MIN_SN            F32  25.0
Note: See TracChangeset for help on using the changeset viewer.