Changeset 15555
- Timestamp:
- Nov 9, 2007, 2:44:16 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippconfig/recipes/psphot.config (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/recipes/psphot.config
r15079 r15555 1 1 2 2 # these options turn on different inputs and/or outputs 3 SAVE.OUTPUT BOOLTRUE4 SAVE.BACKMDL BOOLFALSE5 SAVE.BACKMDL.STDEV BOOLFALSE6 SAVE.BACKGND BOOLFALSE7 SAVE.BACKSUB BOOLFALSE8 SAVE.RESID BOOLFALSE9 SAVE.PSF BOOLFALSE10 LOAD.PSF BOOLFALSE11 SAVE.PLOTS BOOLFALSE3 SAVE.OUTPUT BOOL TRUE 4 SAVE.BACKMDL BOOL FALSE 5 SAVE.BACKMDL.STDEV BOOL FALSE 6 SAVE.BACKGND BOOL FALSE 7 SAVE.BACKSUB BOOL FALSE 8 SAVE.RESID BOOL FALSE 9 SAVE.PSF BOOL FALSE 10 LOAD.PSF BOOL FALSE 11 SAVE.PLOTS BOOL FALSE 12 12 13 13 # the zero point is used to set a basic scale for DVO 14 14 # XXX it may not currently be read : double check this (EAM) 15 ZERO_POINT F3225.000 # zero point used by DVO16 ZERO_PT F3225.000 # zero point used by DVO17 18 MASKVAL STRSAT,BAD,BLANK # Mask these types of pixels19 20 OUTPUT.FORMAT STRSMPDATA15 ZERO_POINT F32 25.000 # zero point used by DVO 16 ZERO_PT F32 25.000 # zero point used by DVO 17 18 MASKVAL STR SAT,BAD,BLANK # Mask these types of pixels 19 20 OUTPUT.FORMAT STR SMPDATA 21 21 22 22 # these parameter govern how the background is measured 23 BACKGROUND.XBIN S32 128# size of background superpixels24 BACKGROUND.YBIN S32 128# size of background superpixels25 IMSTATS_NPIX S32 10000# number of pixels to use for sky estimate boxes:26 27 SKY_BIAS F320.0 # offset applied to measured sky (FOR TESTING)28 SKY_FIT_ORDER S32029 SKY_FIT_LINEAR BOOLFALSE30 SKY_STAT STRFITTED_MEAN_V4 # statistic used to measure background31 SKY_CLIP_SIGMA F322.0 # statistic used to measure background32 SKY_SIG F321.0 # optional sky error for23 BACKGROUND.XBIN S32 128 # size of background superpixels 24 BACKGROUND.YBIN S32 128 # size of background superpixels 25 IMSTATS_NPIX S32 10000 # number of pixels to use for sky estimate boxes: 26 27 SKY_BIAS F32 0.0 # offset applied to measured sky (FOR TESTING) 28 SKY_FIT_ORDER S32 0 29 SKY_FIT_LINEAR BOOL FALSE 30 SKY_STAT STR FITTED_MEAN_V4 # statistic used to measure background 31 SKY_CLIP_SIGMA F32 2.0 # statistic used to measure background 32 SKY_SIG F32 1.0 # optional sky error for 33 33 34 34 # allowed values for SKY_STAT: … … 36 36 37 37 # masking parameters (XXX EAM : rework this to use psRegion like ANALYSIS_REGION) 38 XMIN F32 0# minimum valid x-coord39 XMAX F32 0# maximum valid x-coord40 YMIN F32 0# minimum valid y-coord41 YMAX F32 0# maximum valid y-coord38 XMIN F32 0 # minimum valid x-coord 39 XMAX F32 0 # maximum valid x-coord 40 YMIN F32 0 # minimum valid y-coord 41 YMAX F32 0 # maximum valid y-coord 42 42 43 43 # peak finding 44 PEAKS_SMOOTH_SIGMA F32 1.0# smoothing kernel sigma in pixels45 PEAKS_SMOOTH_NSIGMA F32 2.0# smoothing kernel width in sigmas46 PEAKS_NSIGMA_LIMIT F32 25.0# peak significance threshold47 PEAKS_NSIGMA_LIMIT_2 F32 5.0# peak significance threshold48 PEAKS_NMAX S32 0# on first pass, only keep NMAX peaks (0 == all)44 PEAKS_SMOOTH_SIGMA F32 1.0 # smoothing kernel sigma in pixels 45 PEAKS_SMOOTH_NSIGMA F32 2.0 # smoothing kernel width in sigmas 46 PEAKS_NSIGMA_LIMIT F32 25.0 # peak significance threshold 47 PEAKS_NSIGMA_LIMIT_2 F32 5.0 # peak significance threshold 48 PEAKS_NMAX S32 0 # on first pass, only keep NMAX peaks (0 == all) 49 49 50 50 # parameters to control the selection of the peak in the Sx,Sy plane 51 MOMENTS_SCALE F32 0.152 MOMENTS_SN_MIN F32 100.0 # min S/N to measure moments53 MOMENTS_SX_MAX F32 3.054 MOMENTS_SY_MAX F32 3.055 MOMENTS_AR_MAX F32 1.5# maximum axial ratio: 1 / AR < (sx / sy) < AR51 MOMENTS_SCALE F32 0.1 52 MOMENTS_SN_MIN F32 100.0 # min S/N to measure moments 53 MOMENTS_SX_MAX F32 3.0 54 MOMENTS_SY_MAX F32 3.0 55 MOMENTS_AR_MAX F32 1.5 # maximum axial ratio: 1 / AR < (sx / sy) < AR 56 56 57 57 # basic object statistics 58 SKY_INNER_RADIUS F32 15# square annulus for local sky measurement59 SKY_OUTER_RADIUS F32 25# square annulus for local sky measurement60 PSF_MOMENTS_RADIUS F323 # calculate initial source moments with this radius61 PSF_SN_LIM F3250 # minimum S/N for stars used for PSF model62 PSF_MAX_NSTARS S32200 # limit number of stars used for PSF model63 PSF_CLUMP_NSIGMA F321.5 # region of Sx,Sy plane to use for selecting PSF stars64 PSF_MIN_DS F320.0165 PSF_PARAM_WEIGHTS BOOLFALSE58 SKY_INNER_RADIUS F32 15 # square annulus for local sky measurement 59 SKY_OUTER_RADIUS F32 25 # square annulus for local sky measurement 60 PSF_MOMENTS_RADIUS F32 3 # calculate initial source moments with this radius 61 PSF_SN_LIM F32 50 # minimum S/N for stars used for PSF model 62 PSF_MAX_NSTARS S32 200 # limit number of stars used for PSF model 63 PSF_CLUMP_NSIGMA F32 1.5 # region of Sx,Sy plane to use for selecting PSF stars 64 PSF_MIN_DS F32 0.01 65 PSF_PARAM_WEIGHTS BOOL FALSE 66 66 67 67 # PSF model parameters : choose the PSF model 68 68 # list as many PSF_MODEL options as desired 69 # PSF_MODEL MULTI70 PSF_MODEL STRPS_MODEL_GAUSS71 # PSF_MODEL STRPS_MODEL_PGAUSS72 # PSF_MODEL STRPS_MODEL_QGAUSS73 # PSF_MODEL STR PS_MODEL_TGAUSS ## not well tested, not very successful69 # PSF_MODEL MULTI 70 PSF_MODEL STR PS_MODEL_GAUSS 71 # PSF_MODEL STR PS_MODEL_PGAUSS 72 # PSF_MODEL STR PS_MODEL_QGAUSS 73 # PSF_MODEL STR PS_MODEL_TGAUSS # not well tested, not very successful 74 74 75 75 # PSF.TREND.MASK must be a 2D polynomial 76 76 # the specified values are ignored but define the active components of the polynomial 77 PSF.TREND.MASK METADATA78 NORDER_X S32 0# number of x orders79 NORDER_Y S32 0# number of y orders80 VAL_X00_Y00 F64 1# polynomial coefficient81 NELEMENTS S32 1# number of unmasked components77 PSF.TREND.MASK METADATA 78 NORDER_X S32 0 # number of x orders 79 NORDER_Y S32 0 # number of y orders 80 VAL_X00_Y00 F64 1 # polynomial coefficient 81 NELEMENTS S32 1 # number of unmasked components 82 82 END # folder for 2D polynomial 83 83 84 PSF.TREND.MODE STR POLY_ORD85 PSF.TREND.NX S32 086 PSF.TREND.NY S32087 88 PSF_FIT_RADIUS F32 15.0# fitting radius for test PSF model89 PSF_REF_RADIUS F3225.0 # aperture magnitudes are scaled via90 # curve-of-growth to this radius84 PSF.TREND.MODE STR POLY_ORD 85 PSF.TREND.NX S32 0 86 PSF.TREND.NY S32 0 87 88 PSF_FIT_RADIUS F32 15.0 # fitting radius for test PSF model 89 PSF_REF_RADIUS F32 25.0 # aperture magnitudes are scaled via 90 # curve-of-growth to this radius 91 91 # PSF-like source model parameters 92 PSF_FIT_NSIGMA F32 1.0 # significance for pixel included in fit 93 PSF_FIT_PADDING F32 2.0 # extra annulus to use for fit 94 PSF_SHAPE_NSIGMA F32 3.0 # max significance for shape variation 95 PSF_MIN_SN F32 2.0 # reject objects below this significance 96 PSF_MAX_CHI F32 50.0 # reject objects worse that this 97 FULL_FIT_SN_LIM F32 50.0 98 99 PSF.RESIDUALS BOOL TRUE 100 PSF.RESIDUALS.XBIN S32 1 101 PSF.RESIDUALS.YBIN S32 1 102 PSF.RESIDUALS.NSIGMA F32 3.0 103 PSF.RESIDUALS.INTERPOLATION STR BILINEAR 104 PSF.RESIDUALS.STATISTIC STR ROBUST_MEDIAN 105 PSF.RESIDUALS.SPATIAL_ORDER S32 0 92 PSF_FIT_NSIGMA F32 1.0 # significance for pixel included in fit 93 PSF_FIT_PADDING F32 2.0 # extra annulus to use for fit 94 PSF_SHAPE_NSIGMA F32 3.0 # max significance for shape variation 95 PSF_MIN_SN F32 2.0 # reject objects below this significance 96 PSF_MAX_CHI F32 50.0 # reject objects worse that this 97 FULL_FIT_SN_LIM F32 50.0 98 99 # the RESIDUALS are pixelized psf residual tables 100 PSF.RESIDUALS BOOL TRUE # generate the residuals? 101 PSF.RESIDUALS.XBIN S32 1 # Nx(residual) = Nx(input)*XBIN 102 PSF.RESIDUALS.YBIN S32 1 # Ny(residual) = Ny(input)*YBIN 103 PSF.RESIDUALS.NSIGMA F32 3.0 # clip input stack of NSIGMA outliers 104 PSF.RESIDUALS.INTERPOLATION STR BILINEAR # interpolation to use when reconstructing residual 105 PSF.RESIDUALS.STATISTIC STR ROBUST_MEDIAN # statistic to use for generating the residual 106 PSF.RESIDUALS.SPATIAL_ORDER S32 0 # fit spatial variations of the residuals at this order (0,1) 107 PSF.RESIDUALS.PIX.SN F32 0.0 # keep this pixel if residual is more significant than this 106 108 107 109 # EXTended source model parameters 108 EXT_MODEL STRPS_MODEL_PGAUSS109 EXT_MIN_SN F32 50.0# fit galaxies above this S/N limit110 EXT_FIT_NSIGMA F32 1# significance for pixel included in fit111 EXT_FIT_PADDING F32 5# extra annulus to use for fit112 EXT_MOMENTS_RADIUS F329110 EXT_MODEL STR PS_MODEL_PGAUSS 111 EXT_MIN_SN F32 50.0 # fit galaxies above this S/N limit 112 EXT_FIT_NSIGMA F32 1 # significance for pixel included in fit 113 EXT_FIT_PADDING F32 5 # extra annulus to use for fit 114 EXT_MOMENTS_RADIUS F32 9 113 115 114 116 # Extended source fit parameters 115 EXTENDED_SOURCE_FITS BOOLFALSE116 EXTENDED_SOURCE_SN_LIM F3220.0117 EXTENDED_SOURCE_PSF_CONVOLVED BOOLFALSE118 119 FITMODE STR BLEND120 DEBLEND_PEAK_FRACTION F320.1121 DEBLEND_SKY_NSIGMA F3210.0122 123 # APTREND STRNONE, CONSTANT, SKYBIAS, SKYSAT, XY_LIN, SKY_XY_LIN, SKYSAT_XY_LIN, ALL124 APTREND STRCONSTANT125 AP_MIN_SN F3225.0126 APTREND.NSTAR.MIN S325127 APTREND.ORDER.MAX S325117 EXTENDED_SOURCE_FITS BOOL FALSE 118 EXTENDED_SOURCE_SN_LIM F32 20.0 119 EXTENDED_SOURCE_PSF_CONVOLVED BOOL FALSE 120 121 FITMODE STR BLEND 122 DEBLEND_PEAK_FRACTION F32 0.1 123 DEBLEND_SKY_NSIGMA F32 10.0 124 125 # APTREND STR NONE, CONSTANT, SKYBIAS, SKYSAT, XY_LIN, SKY_XY_LIN, SKYSAT_XY_LIN, ALL 126 APTREND STR CONSTANT 127 AP_MIN_SN F32 25.0 128 APTREND.NSTAR.MIN S32 5 129 APTREND.ORDER.MAX S32 5 128 130 129 131 # test options 130 132 # BREAK_POINT may be one of (PEAKS, MOMENTS, PSFMODEL, ENSEMBLE) 131 BREAK_POINT STR NONE132 # PEAKS_OUTPUT_FILE STRpeaks.dat133 # MOMENTS_OUTPUT_FILE STRmoments.dat134 # ANALYSIS_REGION STR[1000:1600,2800:3400]133 BREAK_POINT STR NONE 134 # PEAKS_OUTPUT_FILE STR peaks.dat 135 # MOMENTS_OUTPUT_FILE STR moments.dat 136 # ANALYSIS_REGION STR [1000:1600,2800:3400] 135 137 136 138 # optional parameter to limit the actual analysis to a fraction of the image 137 139 # do not uncomment this in the master psphot.config file 138 # ANALYSIS_REGION STR[1000:1600,2800:3400]139 140 IGNORE_GROWTH BOOLFALSE141 CONSTANT_PHOTOMETRIC_WEIGHTS BOOL TRUE# Should the photometric code [currently only ensemblePSF] refuse to weight each pixel by it's significance?142 INTERPOLATE_AP BOOLTRUE143 144 POISSON.ERRORS.PHOT.LMM BOOL TRUE145 POISSON.ERRORS.PHOT.LIN BOOLFALSE146 POISSON.ERRORS.PARAMS BOOLTRUE147 148 PCM_BOX_SIZE S322149 150 OUTPUT.FORMAT STR SMPDATA151 NOISE.FACTOR F325.0152 NOISE.SIZE F322.0153 154 USE_FOOTPRINTS BOOL F# use new pmFootprint peak packaging155 FOOTPRINT_NPIXMIN S32 5# Minimum size of a pmFootprint156 FOOTPRINT_NSIGMA_LIMIT F32 20# threshold for bright pmFootprint detection157 FOOTPRINT_NSIGMA_LIMIT_2 F32 4# threshold for faint pmFootprint detection158 FOOTPRINT_GROW_RADIUS S32 3# How much to grow bright footprints159 FOOTPRINT_GROW_RADIUS_2 S32 5# How much to grow faint footprints160 FOOTPRINT_CULL_NSIGMA_DELTA F32 4# Cull peaks that aren't nsigma above coll to neighbour161 FOOTPRINT_CULL_NSIGMA_MIN F32 1# Minimum height of colls in units of skyStdev140 # ANALYSIS_REGION STR [1000:1600,2800:3400] 141 142 IGNORE_GROWTH BOOL FALSE 143 CONSTANT_PHOTOMETRIC_WEIGHTS BOOL TRUE # Should the photometric code [currently only ensemblePSF] refuse to weight each pixel by it's significance? 144 INTERPOLATE_AP BOOL TRUE 145 146 POISSON.ERRORS.PHOT.LMM BOOL TRUE 147 POISSON.ERRORS.PHOT.LIN BOOL FALSE 148 POISSON.ERRORS.PARAMS BOOL TRUE 149 150 PCM_BOX_SIZE S32 2 151 152 OUTPUT.FORMAT STR SMPDATA 153 NOISE.FACTOR F32 5.0 154 NOISE.SIZE F32 2.0 155 156 USE_FOOTPRINTS BOOL F # use new pmFootprint peak packaging 157 FOOTPRINT_NPIXMIN S32 5 # Minimum size of a pmFootprint 158 FOOTPRINT_NSIGMA_LIMIT F32 20 # threshold for bright pmFootprint detection 159 FOOTPRINT_NSIGMA_LIMIT_2 F32 4 # threshold for faint pmFootprint detection 160 FOOTPRINT_GROW_RADIUS S32 3 # How much to grow bright footprints 161 FOOTPRINT_GROW_RADIUS_2 S32 5 # How much to grow faint footprints 162 FOOTPRINT_CULL_NSIGMA_DELTA F32 4 # Cull peaks that aren't nsigma above coll to neighbour 163 FOOTPRINT_CULL_NSIGMA_MIN F32 1 # Minimum height of colls in units of skyStdev 162 164 163 165 # alternate PSPHOT-type recipes … … 173 175 END 174 176 175 TEST_FIT BOOLFALSE176 TEST_FIT_MODE STRDEFAULT177 TEST_FIT_MODEL STRDEFAULT178 TEST_FIT_INNER_RADIUS F32NAN179 TEST_FIT_OUTER_RADIUS F32NAN180 TEST_FIT_RADIUS F32NAN181 TEST_MOMENTS_RADIUS F32NAN182 TEST_FIT_X F32NAN183 TEST_FIT_Y F32NAN184 185 TEST_FIT_PAR0 F32NAN186 TEST_FIT_PAR1 F32NAN187 TEST_FIT_PAR2 F32NAN188 TEST_FIT_PAR3 F32NAN189 TEST_FIT_PAR4 F32NAN190 TEST_FIT_PAR5 F32NAN191 TEST_FIT_PAR6 F32NAN192 TEST_FIT_PAR7 F32NAN193 TEST_FIT_PAR8 F32NAN194 TEST_FIT_PAR F32NAN195 196 DIAGNOSTIC.PLOTS METADATA197 IMAGE.BACKGROUND.CELL.HISTOGRAM BOOL FALSE198 IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32 35199 IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32 -1200 END 201 202 PSF.FLUXSCALE.NX S32 5# number cells to measure flux scale variations203 PSF.FLUXSCALE.NY S32 5# number cells to measure flux scale variations177 TEST_FIT BOOL FALSE 178 TEST_FIT_MODE STR DEFAULT 179 TEST_FIT_MODEL STR DEFAULT 180 TEST_FIT_INNER_RADIUS F32 NAN 181 TEST_FIT_OUTER_RADIUS F32 NAN 182 TEST_FIT_RADIUS F32 NAN 183 TEST_MOMENTS_RADIUS F32 NAN 184 TEST_FIT_X F32 NAN 185 TEST_FIT_Y F32 NAN 186 187 TEST_FIT_PAR0 F32 NAN 188 TEST_FIT_PAR1 F32 NAN 189 TEST_FIT_PAR2 F32 NAN 190 TEST_FIT_PAR3 F32 NAN 191 TEST_FIT_PAR4 F32 NAN 192 TEST_FIT_PAR5 F32 NAN 193 TEST_FIT_PAR6 F32 NAN 194 TEST_FIT_PAR7 F32 NAN 195 TEST_FIT_PAR8 F32 NAN 196 TEST_FIT_PAR F32 NAN 197 198 DIAGNOSTIC.PLOTS METADATA 199 IMAGE.BACKGROUND.CELL.HISTOGRAM BOOL FALSE 200 IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32 35 201 IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32 -1 202 END 203 204 PSF.FLUXSCALE.NX S32 5 # number cells to measure flux scale variations 205 PSF.FLUXSCALE.NY S32 5 # number cells to measure flux scale variations
Note:
See TracChangeset
for help on using the changeset viewer.
