NumSourcesTask¶
Python API summary¶
from lsst.faro.base.BaseSubTasks import NumSourcesTask
-
class
(config: Optional[Config] = None, name: Optional[str] = None, parentTask: Optional[Task] = None, log: Optional[Union[logging.Logger, lsst.utils.logging.LsstLogAdapter]] = None)NumSourcesTask
Simple default task to count the number of sources/objects in catalog
...
-
attribute
config
Access configuration fields and retargetable subtasks.
-
method
(metricName, catalog, **kwargs)run
Run NumSourcesTask Parameters ———- metricName : `str` The name of the metric to measure. catalog : `dict` `lsst.afw.table` Catalog type kwargs Extra keyword arguments used to construct the task. Returns ——- measurement : `Struct` The measured value of the metric
...
See also
See the NumSourcesTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.