Skip to content

Commit

Permalink
Add deblending metrics to default pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jun 18, 2021
1 parent 3c3ddeb commit 127307d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/default_image_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
from lsst.verify.tasks.commonMetrics import TimingMetricConfig, MemoryMetricConfig
# Import these modules to ensure the metrics are registered
import lsst.ip.diffim.metrics # noqa: F401
import lsst.pipe.tasks.metrics # noqa: F401
import lsst.ap.association.metrics # noqa: F401

metadataConfigs = ["numNewDiaObjects",
"numUnassociatedDiaObjects",
"fracUpdatedDiaObjects"]
config.measurers = ["timing", "memory",
"numSciSources", "fracDiaSourcesToSciSources",
"numDeblendedSciSources", "numDeblendChildSciSources",
] + metadataConfigs

timingConfigs = {
Expand Down
4 changes: 4 additions & 0 deletions pipelines/MetricsMisc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ tasks:
class: lsst.ip.diffim.metrics.NumberSciSourcesMetricTask
fracDiaSourcesToSciSources:
class: lsst.ip.diffim.metrics.FractionDiaSourcesToSciSourcesMetricTask
numDeblendedSciSources:
class: lsst.pipe.tasks.metrics.NumberDeblendedSourcesMetricTask
numDeblendChildSciSources:
class: lsst.pipe.tasks.metrics.NumberDeblendChildSourcesMetricTask

0 comments on commit 127307d

Please sign in to comment.