Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-32226: Replace pipe.base.timeMethod with utils.timer #45

Merged
merged 1 commit into from
Oct 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/lsst/meas/extensions/scarlet/scarletDeblendTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import lsst.afw.image as afwImage
import lsst.afw.detection as afwDet
import lsst.afw.table as afwTable
from lsst.utils.timer import timeMethod

from .source import modelToHeavy

Expand Down Expand Up @@ -606,7 +607,7 @@ def _addSchemaKeys(self, schema):
# (self.nChildKey, self.tooManyPeaksKey, self.tooBigKey))
# )

@pipeBase.timeMethod
@timeMethod
def run(self, mExposure, mergedSources):
"""Get the psf from each exposure and then run deblend().

Expand All @@ -629,7 +630,7 @@ def run(self, mExposure, mergedSources):
"""
return self.deblend(mExposure, mergedSources)

@pipeBase.timeMethod
@timeMethod
def deblend(self, mExposure, catalog):
"""Deblend a data cube of multiband images

Expand Down