Skip to content

Commit

Permalink
Load the kernelSize config override from coaddBase
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Jun 4, 2024
1 parent 2a33c3f commit eb8e449
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion config/latiss/assembleCoadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@

# AuxTel PSF is not stable at this time resulting in many frames being
# rejected by standard psfWcsSelect. Switch to using WcsSelectImagesTask
# to avoid rejecting too many frames.
# to avoid rejecting too many frames.

import os.path

# Load configs shared between assembleCoadd and makeWarp.
config.load(os.path.join(os.path.dirname(__file__), "coaddBase.py")

from lsst.pipe.tasks.selectImages import WcsSelectImagesTask
config.select.retarget(WcsSelectImagesTask)
7 changes: 5 additions & 2 deletions config/latiss/makeWarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

"""LATISS-specific overrides for MakeWarpTask"""

import os.path

# Load configs shared between assembleCoadd and makeWarp.
config.load(os.path.join(os.path.dirname(__file__), "coaddBase.py"))

# These thresholds must be relaxed for AuxTel/LATISS compared to the task
# defaults (which were conditioned on HSC data). These have been chosen
# based on the data observed in the 2022-11B (PREOPS-1986) and 2022-12A
Expand Down Expand Up @@ -49,8 +54,6 @@

# These configs are for skymaps of pixel scale 0.1
# TO DO: Delete these 5 if we go a 0.2 pixel scale
config.matchingKernelSize = 57
config.warpAndPsfMatch.psfMatch.kernel['AL'].kernelSize = 43
config.warpAndPsfMatch.psfMatch.kernel['AL'].alardSigGauss = [1.5, 3.0, 6.0]
config.warpAndPsfMatch.psfMatch.kernel['AL'].sizeCellX = 256
config.warpAndPsfMatch.psfMatch.kernel['AL'].sizeCellY = 256

0 comments on commit eb8e449

Please sign in to comment.