Skip to content

Commit

Permalink
Merge pull request #278 from lsst/tickets/DM-39411
Browse files Browse the repository at this point in the history
DM-39411: Add timing metrics for remaining AP pipeline tasks
  • Loading branch information
kherner authored Aug 31, 2023
2 parents 07994bd + 538452a commit b1c1672
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 b1c1672

Please sign in to comment.