diff --git a/config/assembleCoadd.py b/config/assembleCoadd.py index 81422a82..0916cae9 100644 --- a/config/assembleCoadd.py +++ b/config/assembleCoadd.py @@ -1,9 +1,5 @@ -import os.path from lsst.pipe.tasks.selectImages import PsfWcsSelectImagesTask -# Load configs shared between assembleCoadd and makeCoaddTempExp -config.load(os.path.join(os.path.dirname(__file__), "coaddBase.py")) - # 200 rows (since patch width is typically < 10k pixels) config.subregionSize = (10000, 200) config.doMaskBrightObjects = True diff --git a/config/coaddBase.py b/config/coaddBase.py deleted file mode 100644 index c438084e..00000000 --- a/config/coaddBase.py +++ /dev/null @@ -1,2 +0,0 @@ -# Configs shared between makeWarp and assemble -config.matchingKernelSize = 29 diff --git a/config/makeDirectWarp.py b/config/makeDirectWarp.py new file mode 100644 index 00000000..f73f27ba --- /dev/null +++ b/config/makeDirectWarp.py @@ -0,0 +1,4 @@ +config.doApplyNewBackground = True + +config.warper.warpingKernelName = 'lanczos5' +config.coaddPsf.warpingKernelName = 'lanczos5' diff --git a/config/makePsfMatchedWarp.py b/config/makePsfMatchedWarp.py new file mode 100644 index 00000000..e3a7f5f5 --- /dev/null +++ b/config/makePsfMatchedWarp.py @@ -0,0 +1,3 @@ +config.modelPsf.defaultFwhm = 7.7 +config.psfMatch.kernel['AL'].kernelSize = 29 +config.psfMatch.kernel['AL'].alardSigGauss = [1.0, 2.0, 4.5] diff --git a/config/makeWarp.py b/config/makeWarp.py index 53c29959..eab8d589 100644 --- a/config/makeWarp.py +++ b/config/makeWarp.py @@ -1,13 +1,8 @@ -import os.path - -# Load configs shared between assembleCoadd and makeWarp -config.load(os.path.join(os.path.dirname(__file__), "coaddBase.py")) - config.makePsfMatched = True config.doApplySkyCorr = True config.modelPsf.defaultFwhm = 7.7 -config.warpAndPsfMatch.psfMatch.kernel["AL"].kernelSize = config.matchingKernelSize +config.warpAndPsfMatch.psfMatch.kernel["AL"].kernelSize = 29 config.warpAndPsfMatch.psfMatch.kernel["AL"].alardSigGauss = [1.0, 2.0, 4.5] config.warpAndPsfMatch.warp.warpingKernelName = "lanczos5" config.coaddPsf.warpingKernelName = "lanczos5"