Skip to content

Commit

Permalink
add timeMethod for GetTemplateTask
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth R. Herner committed Aug 31, 2023
1 parent 07994bd commit 538452a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/ip/diffim/getTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 538452a

Please sign in to comment.