NumberNewDiaObjectsMetricTask¶
NumberNewDiaObjectsMetricTask
computes the number of DIAObjects created when processing data through source association (as the ap_association.numNewDiaObjects
metric).
It requires task metadata as input, and can operate at image-level or coarser granularity.
Processing summary¶
NumberNewDiaObjectsMetricTask
reads AssociationTask
statistics from task metadata associated with one or more processed images.
It uses these statistics to count the number of new DIAObjects added when processing those images.
Python API summary¶
from lsst.ap.association.metrics import NumberNewDiaObjectsMetricTask
-
class
(**kwargs)NumberNewDiaObjectsMetricTask
Task that computes the number of DIASources that create new DIAObjects in an image, visit, etc
...
-
attribute
config
Access configuration fields and retargetable subtasks.
See also
See the NumberNewDiaObjectsMetricTask
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 runningNumberNewDiaObjectsMetricTask
or aMetricsControllerTask
that contains it.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
metadata¶
- Data type
lsst.pipe.base.config.InputDatasetConfig
- Field type
ConfigField
The target top-level task’s metadata. The name must be set to the metadata’s butler type, such as ‘processCcd_metadata’.