Skip to content

Commit

Permalink
Time SingleFrameMeasurementTask and CatalogCalculationTask.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Sep 5, 2017
1 parent ae74ba4 commit c31656e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/meas/base/catalogCalculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def initializePlugins(self):
raise ValueError("{} has an execution order less than the minimum for an catalogCalculation "
"plugin. Value {} : Minimum {}".format(*errorTuple))

@lsst.pipe.base.timeMethod
def run(self, measCat):
'''
The entry point for the catalogCalculation task. This method should be called with a reference to a
Expand Down
3 changes: 3 additions & 0 deletions python/lsst/meas/base/sfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
to avoid information loss (this should, of course, be indicated in the field documentation).
"""

import lsst.pipe.base as pipeBase

from .pluginRegistry import PluginRegistry
from .baseMeasurement import (BaseMeasurementPluginConfig, BaseMeasurementPlugin,
BaseMeasurementConfig, BaseMeasurementTask)
Expand Down Expand Up @@ -271,6 +273,7 @@ def __init__(self, schema, algMetadata=None, **kwds):
else:
self.doBlendedness = False

@pipeBase.timeMethod
def run(self, measCat, exposure, noiseImage=None, exposureId=None, beginOrder=None, endOrder=None):
"""!
Run single frame measurement over an exposure and source catalog
Expand Down

0 comments on commit c31656e

Please sign in to comment.