From 538452ab86f5cda1d64b698a5581dcaf42ef1542 Mon Sep 17 00:00:00 2001 From: "Kenneth R. Herner" Date: Wed, 23 Aug 2023 12:13:35 -0700 Subject: [PATCH] add timeMethod for GetTemplateTask --- python/lsst/ip/diffim/getTemplate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/lsst/ip/diffim/getTemplate.py b/python/lsst/ip/diffim/getTemplate.py index 95c52a3e..49e85ce8 100644 --- a/python/lsst/ip/diffim/getTemplate.py +++ b/python/lsst/ip/diffim/getTemplate.py @@ -30,6 +30,7 @@ from lsst.skymap import BaseSkyMap from lsst.ip.diffim.dcrModel import DcrModel from lsst.meas.algorithms import CoaddPsf, CoaddPsfConfig +from lsst.utils.timer import timeMethod __all__ = ["GetTemplateTask", "GetTemplateConfig", "GetDcrTemplateTask", "GetDcrTemplateConfig"] @@ -185,6 +186,7 @@ def getOverlappingExposures(self, inputs): return pipeBase.Struct(coaddExposures=coaddExposureList, dataIds=dataIds) + @timeMethod def run(self, coaddExposures, bbox, wcs, dataIds, physical_filter=None, **kwargs): """Warp coadds from multiple tracts to form a template for image diff.