Skip to content

Commit

Permalink
Adapt to coaddBase matchingKernelSize config
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Feb 20, 2018
1 parent 36e54af commit f4f14c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions config/assembleCoadd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import os.path
from lsst.utils import getPackageDir

# Load configs shared between assembleCoadd and makeCoaddTempExp
config.load(os.path.join(getPackageDir("obs_subaru"), "config", "coaddBase.py"))

config.doSigmaClip = False
config.subregionSize = (10000, 200) # 200 rows (since patch width is typically < 10k pixels)
config.doMaskBrightObjects = True
Expand Down
2 changes: 2 additions & 0 deletions config/coaddBase.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Configs shared between makeCoaddTempExp and assemble
config.matchingKernelSize = 29
7 changes: 6 additions & 1 deletion config/makeCoaddTempExp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import os.path
from lsst.utils import getPackageDir

# Load configs shared between assembleCoadd and makeCoaddTempExp
config.load(os.path.join(getPackageDir("obs_subaru"), "config", "coaddBase.py"))

config.makePsfMatched = True
config.warpAndPsfMatch.psfMatch.kernel['AL'].kernelSize = 29
config.warpAndPsfMatch.psfMatch.kernel['AL'].alardSigGauss = [1.0, 2.0, 4.5]
config.modelPsf.defaultFwhm = 7.7

0 comments on commit f4f14c0

Please sign in to comment.