Skip to content

Commit

Permalink
Merge branch 'tickets/DM-40955'
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenam committed Nov 1, 2023
2 parents 49888e5 + 9f97207 commit 091d041
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions config/latiss/characterizeImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

# Reduce psfex spatialOrder to 1, this helps ensure success with low numbers of psf candidates.
config.measurePsf.psfDeterminer["psfex"].spatialOrder = 1
# Set the default kernel and stamp sizes for PSF modeling appropriate for LATISS
config.measurePsf.makePsfCandidates.kernelSize = 71
config.measurePsf.psfDeterminer["psfex"].stampSize = 71

config.installSimplePsf.width = 21
config.installSimplePsf.fwhm = 2.355*2 # LATISS plate scale is 2x LSST nominal
Expand Down
12 changes: 10 additions & 2 deletions config/latiss/finalize_characterization.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# Reduce piff spatialOrder to 1, this helps ensure success with low numbers of psf candidates.
config.psf_determiner['piff'].spatialOrder = 1
# Change the PSF determiner to psfex from piff default as the latter will not
# scale well to the large kernel/stamp sizes for PSF modeling for LATISS data.
import lsst.meas.extensions.psfex.psfexPsfDeterminer

config.psf_determiner.name = "psfex"
# Reduce spatialOrder to 1, this helps ensure success with low numbers of psf candidates.
config.psf_determiner["psfex"].spatialOrder = 1
# Set the default kernel and stamp sizes for PSF modeling appropriate for LATISS.
config.psf_determiner["psfex"].stampSize = 71
config.make_psf_candidates.kernelSize = 71
1 change: 1 addition & 0 deletions ups/obs_lsst.table
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ setupRequired(astro_metadata_translator)
setupRequired(obs_lsst_data)
setupRequired(daf_butler)
setupOptional(meas_extensions_gaap)
setupOptional(meas_extensions_psfex)

envPrepend(PYTHONPATH, ${PRODUCT_DIR}/python)
envPrepend(PATH, ${PRODUCT_DIR}/bin)
Expand Down

0 comments on commit 091d041

Please sign in to comment.