Skip to content

Commit

Permalink
Update PSF modelling configs appropriate for LATSS
Browse files Browse the repository at this point in the history
Namely:
(a) set the characterizeImage kernelSize and stampSize to 71
(b) change finalize to use a kernelSize and stampSize of 71
(c) change finalize PSF model from piff to psfex

Note that (c) is required (for now) because piff doesn't scale well
with increasing stampSize.
  • Loading branch information
laurenam committed Oct 31, 2023
1 parent 49888e5 commit 638d176
Show file tree
Hide file tree
Showing 2 changed files with 11 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 modelling 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
10 changes: 8 additions & 2 deletions config/latiss/finalize_characterization.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# 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 modelling for LATISS data.
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 modelling appropriate for LATISS.
config.psf_determiner["psfex"].stampSize = 71
config.make_psf_candidates.kernelSize = 71

0 comments on commit 638d176

Please sign in to comment.