NumberUnassociatedDiaObjectsMetricTask

NumberUnassociatedDiaObjectsMetricTask computes the number of DIAObjects that are not updated when processing data through source association (as the ap_association.numUnassociatedDiaObjects metric). It requires task metadata as input. While the task can operate at image-level or coarser granularity, the current algorithm may double-count objects and should not be run on multiple visits.

Processing summary

NumberUnassociatedDiaObjectsMetricTask reads AssociationTask statistics from task metadata associated with one or more processed images. It uses these statistics to count the number of unassociated DIAObjects when processing those images.

Python API summary

from lsst.ap.association.metrics import NumberUnassociatedDiaObjectsMetricTask
classNumberUnassociatedDiaObjectsMetricTask(**kwargs)

Task that computes the number of previously-known DIAObjects that do not have detected DIASources in an image, visit, etc...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(metadata)

Compute a measurement from science task metadata...

See also

See the NumberUnassociatedDiaObjectsMetricTask API reference for complete details.

Butler datasets

Input datasets

metadata
The metadata of the top-level command-line task (e.g., ProcessCcdTask, ApPipeTask) being instrumented. Because the metadata produced by each top-level task is a different Butler dataset type, this dataset must be explicitly configured when running NumberUnassociatedDiaObjectsMetricTask or a MetricsControllerTask that contains it.

Retargetable subtasks

No subtasks.

Configuration fields

connections

Data type
lsst.pipe.base.config.Connections
Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes

metadataDimensions

Default
{'visit', 'detector', 'instrument'}
Field type
str ListField
Override for the dimensions of the ‘metadata’ input, when instrumenting Tasks that don’t produce one metadata object per visit.

saveMetadata

Default
True
Field type
bool Field
Flag to enable/disable metadata saving for a task, enabled by default.