TotalUnassociatedDiaObjectsMetricTask¶
TotalUnassociatedDiaObjectsMetricTask computes the number of DIAObjects that have only a single source (as the ap_association.totalUnassociatedDiaObjects metric).
It requires a prompt products database as input, and is meaningful only at dataset-level granularity.
Processing summary¶
TotalUnassociatedDiaObjectsMetricTask queries the database (through Ppdb) for the number of DIAObjects with exactly one source.
Python API summary¶
from lsst.ap.association.metrics import TotalUnassociatedDiaObjectsMetricTask
-
class
(**kwargs)TotalUnassociatedDiaObjectsMetricTask Task that computes the number of DIAObjects with only one associated DIASource
...
-
attribute
config Access configuration fields and retargetable subtasks.
See also
See the TotalUnassociatedDiaObjectsMetricTask API reference for complete details.
Butler datasets¶
Input datasets¶
dbInfo- The Butler dataset from which the database connection can be initialized.
The type must match the input required by the
dbLoadersubtask (default: the top-level science task’s config). If the input is a config, its name must be explicitly configured when runningTotalUnassociatedDiaObjectsMetricTaskor aMetricsControllerTaskthat contains it.
Retargetable subtasks¶
dbLoader¶
- Default
lsst.verify.tasks.ppdbMetricTask.ConfigPpdbLoader- Field type
ConfigurableField
Task for loading a database from
dbInfo. Its run method must take the dataset provided by dbInfo and return a Struct with a ‘ppdb’ member.Configuration fields¶
dbInfo¶
- Data type
lsst.pipe.base.config.InputDatasetConfig- Field type
ConfigField
The dataset from which a PPDB instance can be constructed by
dbLoader. By default this is assumed to be a top-level config, such as ‘processCcd_config’.