IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40798 for trunk


Ignore:
Timestamp:
Jun 20, 2019, 10:02:46 AM (7 years ago)
Author:
eugene
Message:

add STACKPHOT_EUCLID and FULLFORCE_EUCLID recipes (for UNIONS data)

File:
1 edited

Legend:

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

    r40184 r40798  
    574574  PSPHOT.STACK.MATCH.PSF.SOURCE       STR   AUTO # which inputs to convolve? (RAW, CNV, AUTO)
    575575  PSPHOT.STACK.TARGET.PSF.AUTO        BOOL  F    # automatically determine target PSF size?
    576   PSPHOT.STACK.USE.RAW                BOOL  F    # perform photometry & morphology analysis on the raw image
     576
     577  # NOTE: if PSPHOT.STACK.USE.RAW is set to False, KRON.SMOOTH should be
     578  # set to false as well in order to get the best MOMENTS_R1 measurement
     579  PSPHOT.STACK.USE.RAW                BOOL  T    # perform photometry & morphology analysis on the raw image
     580  KRON_SMOOTH                         BOOL  T    # smooth before kron radius measurement
    577581  @PSPHOT.STACK.TARGET.PSF.FWHM       F32   6.0 8.0 # FWHM of target PSF (if NOT AUTO sized; pixels)
    578   RADIAL_APERTURES                    BOOL  F    # calculate flux in circular radial apertures?
     582  RADIAL_APERTURES                    BOOL  T    # calculate flux in circular radial apertures?
    579583  RADIAL_APERTURES_SN_LIM             F32   0.0  # S/N limit for radial aperture calculation
    580   OUTPUT.FORMAT                       STR   PS1_SV3
     584  OUTPUT.FORMAT                       STR   PS1_SV4
     585
     586  # subtract radial profiles for extremely bright stars?
     587  SUBTRACT_SATSTAR_PROFILE            BOOL  T
     588 
     589  CONSTANT_PHOTOMETRIC_WEIGHTS        BOOL  TRUE
     590  POISSON.ERRORS.PHOT.LMM             BOOL  TRUE
     591
     592  LMM_FIT_CHISQ_CONVERGENCE           BOOL  FALSE           # use the (old) chisq convergence or the new parameter one
     593  LMM_FIT_GAIN_FACTOR_MODE            S32   2               # there are 3 options to determine the gain factor (0,1,2)
     594  EXT_FIT_MIN_TOL                     F32   0.1             # Fit tolerance for EXT
    581595
    582596  EXT_FIT_MAX_RADIUS                  F32   50.0
    583   PSF_MODEL                           STR   PS_MODEL_GAUSS
     597  PSF_MODEL                           STR   PS_MODEL_PS1_V1
    584598  EXT_MODEL                           STR   PS_MODEL_QGAUSS
     599  PEAKS_NMAX_TOTAL                    S32   0 # set this to limit the allowed number of peaks - Yields fault instead of avoid memory explosion
     600
     601  REPAIR.PETROSIAN.MAG.ERRORS         BOOL  TRUE # write PETRO_MAG_ERR as dFlux / Flux when writing
     602
     603  SAVE.RESID                          BOOL  FALSE
     604END
     605
     606# Extended source fit parameters
     607STACKPHOT_EUCLID                      METADATA
     608  EXTENDED_SOURCE_FITS                BOOL  TRUE  # perform any of the aperture-like measurements?
     609  EXTENDED_SOURCE_GALAXY_PARAMS       BOOL  TRUE  # measure additional paramters for "galaxies"
     610  EXTENDED_SOURCE_SN_LIM              F32   10.0
     611  EXTENDED_SOURCE_PETROSIAN           BOOL  TRUE
     612  EXTENDED_SOURCE_ANNULI              BOOL  TRUE
     613  EXT.NSIGMA.LIMIT.USE                BOOL  FALSE
     614  EXT.FIT.MIN.GAL.LIMIT.USE           BOOL  TRUE  # limit extended source fits by galactic coordinates
     615
     616  PSPHOT.STACK.MATCH.PSF.SOURCE       STR   AUTO # which inputs to convolve? (RAW, CNV, AUTO)
     617  PSPHOT.STACK.TARGET.PSF.AUTO        BOOL  F    # automatically determine target PSF size?
     618  # NOTE: if PSPHOT.STACK.USE.RAW is set to False, KRON.SMOOTH should be
     619  # set to false as well in order to get the best MOMENTS_R1 measurement
     620  PSPHOT.STACK.USE.RAW                BOOL  T    # perform photometry & morphology analysis on the raw image
     621  KRON_SMOOTH                         BOOL  T    # smooth before kron radius measurement
     622  @PSPHOT.STACK.TARGET.PSF.FWHM       F32   6.0 8.0 # FWHM of target PSF (if NOT AUTO sized; pixels)
     623  RADIAL_APERTURES                    BOOL  T    # calculate flux in circular radial apertures?
     624  RADIAL_APERTURES_SN_LIM             F32   0.0  # S/N limit for radial aperture calculation
     625  OUTPUT.FORMAT                       STR   PS1_SV4
     626
     627  # PS1 EUCLID values (dropped inner 2 apertures)
     628  @RADIAL.ANNULAR.BINS.LOWER           F32      0.00  5.38 10.77 16.15 21.54 32.30 # perl parser fails without a comment ticket #1476 still?
     629  @RADIAL.ANNULAR.BINS.UPPER           F32      5.38 10.77 16.15 21.54 32.30 43.06 # perl parser fails without a comment ticket #1476 still?
     630  #                aperture radius in arcsec:   1.0   2.0   3.0   4.0   6.0   8.0
     631
     632  # subtract radial profiles for extremely bright stars?
     633  SUBTRACT_SATSTAR_PROFILE            BOOL  T
     634 
     635  CONSTANT_PHOTOMETRIC_WEIGHTS        BOOL  TRUE
     636  POISSON.ERRORS.PHOT.LMM             BOOL  TRUE
     637
     638  LMM_FIT_CHISQ_CONVERGENCE           BOOL  FALSE           # use the (old) chisq convergence or the new parameter one
     639  LMM_FIT_GAIN_FACTOR_MODE            S32   2               # there are 3 options to determine the gain factor (0,1,2)
     640  EXT_FIT_MIN_TOL                     F32   0.1             # Fit tolerance for EXT
     641
     642  EXT_FIT_MAX_RADIUS                  F32   50.0
     643  PSF_MODEL                           STR   PS_MODEL_PS1_V1
     644  EXT_MODEL                           STR   PS_MODEL_QGAUSS
     645  PEAKS_NMAX_TOTAL                    S32   0 # set this to limit the allowed number of peaks - Yields fault instead of avoid memory explosion
     646
     647  REPAIR.PETROSIAN.MAG.ERRORS         BOOL  TRUE # write PETRO_MAG_ERR as dFlux / Flux when writing
     648
     649  SAVE.RESID                          BOOL  FALSE
    585650END
    586651
     
    860925END
    861926
     927FULLFORCE_EUCLID METADATA
     928    GALAXY_SHAPES           BOOL    TRUE
     929
     930    # new recipe values which set paramter spacing based on signal to noise
     931    # DELTA = Q / SN
     932    # F_MIN = 1 - NSIGMA * DELTA
     933    # F_MAX = 1 + NSIGMA * DELTA
     934    GALAXY_SHAPES_Q                     F32   1.5       # these values result in
     935    GALAXY_SHAPES_NSIGMA                F32   4.0       # a 9 x 9 grid
     936    GALAXY_SHAPES_CLAMP_SN              F32   50.       # with minimum delta .03 pixels
     937
     938    RADIAL_APERTURES        BOOL    TRUE
     939    EXTENDED_SOURCE_FITS    BOOL    TRUE    # this casues the xfit extension to be written out
     940    EXTENDED_SOURCE_PETROSIAN BOOL  TRUE    # To measure petrosian magnitudes
     941    EXTENDED_SOURCE_ANNULI  BOOL    TRUE
     942    LENSING_PARAMETERS      BOOL    TRUE
     943    SAVE.PSF                BOOL    FALSE
     944    SAVE.BACKMDL            BOOL    FALSE
     945    SAVE.RESID              BOOL    FALSE
     946    OUTPUT.FORMAT           STR     PS1_V5
     947END
     948
    862949CHIP_SHALLOW METADATA
    863950  PEAKS_NSIGMA_LIMIT                  F32   25.0            # peak significance threshold
Note: See TracChangeset for help on using the changeset viewer.