NumberDeblendChildSourcesMetricTask

NumberDeblendChildSourcesMetricTask computes the number of science sources created by deblending when processing data through single-frame processing (as the pipe_tasks.numDeblendChildSciSources metric). It requires source catalogs (by default, a src dataset) as input, and operates at image-level granularity.

Processing summary

NumberDeblendChildSourcesMetricTask reads source catalogs (src datasets, by default) and adds up the number of sources that have a deblending parent in those catalogs. Sky sources, and sources that are themselves deblended, are not counted.

Python API summary

from lsst.pipe.tasks.metrics import NumberDeblendChildSourcesMetricTask
classNumberDeblendChildSourcesMetricTask(**kwargs)

Task that computes the number of science sources created through deblending...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(sources)

Count the number of science sources created by deblending...

See also

See the NumberDeblendChildSourcesMetricTask API reference for complete details.

Butler datasets

Input datasets

sources

The catalog type for science sources (default: src).

Retargetable subtasks

No subtasks.

Configuration fields

connections

Data type

lsst.pipe.base.config.NumberDeblendChildSourcesMetricConfigConnections

Field type

ConfigField

Configurations describing the connections of the PipelineTask to datatypes

saveLogOutput

Default
True
Field type

bool Field

Flag to enable/disable saving of log output for a task, enabled by default.

saveMetadata

Default
True
Field type

bool Field

Flag to enable/disable metadata saving for a task, enabled by default. Deprecated: This field is deprecated and will be removed after v26.