Skip to content

Commit

Permalink
Use 12 pixel aperture for psfex
Browse files Browse the repository at this point in the history
See DM-40843 about propagating this up to meas_extensions_psfex.
  • Loading branch information
parejkoj committed Feb 13, 2024
1 parent b665104 commit 8c69a28
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/lsst/pipe/tasks/calibrateImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,10 @@ def setDefaults(self):
]
self.psf_source_measurement.slots.shape = "ext_shapeHSM_HsmSourceMoments"
# Only measure apertures we need for PSF measurement.
# TODO DM-40064: psfex has a hard-coded value of 9 in a psfex-config
# file: make that configurable and/or change it to 12 to be consistent
# with our other uses?
# https://github.com/lsst/meas_extensions_psfex/blob/main/config/default-lsst.psfex#L14
self.psf_source_measurement.plugins["base_CircularApertureFlux"].radii = [9.0, 12.0]
self.psf_source_measurement.plugins["base_CircularApertureFlux"].radii = [12.0]
# TODO DM-40843: Remove this line once this is the psfex default.
self.psf_measure_psf.psfDeterminer["psfex"].photometricFluxField = \
"base_CircularApertureFlux_12_0_instFlux"

# No extendeness information available: we need the aperture
# corrections to determine that.
Expand Down

0 comments on commit 8c69a28

Please sign in to comment.