From 94bd9866195820009e492a7b431af41000ace00a Mon Sep 17 00:00:00 2001 From: Ian Sullivan Date: Tue, 9 Apr 2024 15:47:09 -0700 Subject: [PATCH] Persist the PSF-matching kernel --- python/lsst/ip/diffim/subtractImages.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/python/lsst/ip/diffim/subtractImages.py b/python/lsst/ip/diffim/subtractImages.py index 9e2f0f2b..ecb43b80 100644 --- a/python/lsst/ip/diffim/subtractImages.py +++ b/python/lsst/ip/diffim/subtractImages.py @@ -95,6 +95,12 @@ class SubtractImageOutputConnections(lsst.pipe.base.PipelineTaskConnections, storageClass="ExposureF", name="{fakesType}{coaddName}Diff_matchedExp", ) + psfMatchingKernel = connectionTypes.Output( + doc="Kernel used to PSF match the science and template images.", + dimensions=("instrument", "visit", "detector"), + storageClass="MatchingKernel", + name="{fakesType}{coaddName}Diff_psfMatchKernel", + ) class SubtractScoreOutputConnections(lsst.pipe.base.PipelineTaskConnections, @@ -106,6 +112,12 @@ class SubtractScoreOutputConnections(lsst.pipe.base.PipelineTaskConnections, storageClass="ExposureF", name="{fakesType}{coaddName}Diff_scoreExp", ) + psfMatchingKernel = connectionTypes.Output( + doc="Kernel used to PSF match the science and template images.", + dimensions=("instrument", "visit", "detector"), + storageClass="MatchingKernel", + name="{fakesType}{coaddName}Diff_psfScoreMatchKernel", + ) class AlardLuptonSubtractConnections(SubtractInputConnections, SubtractImageOutputConnections):