lsst.ip.diffim
18.0.0-4-gd60ad06
|
Public Member Functions | |
def | run (self, sources) |
def | getOutputMetricName (cls, config) |
Static Public Attributes | |
ConfigClass = NumberSciSourcesMetricConfig | |
Task that computes the number of cataloged science sources.
Definition at line 47 of file metrics.py.
def lsst.ip.diffim.metrics.NumberSciSourcesMetricTask.getOutputMetricName | ( | cls, | |
config | |||
) |
Definition at line 87 of file metrics.py.
def lsst.ip.diffim.metrics.NumberSciSourcesMetricTask.run | ( | self, | |
sources | |||
) |
Count the number of science sources. Parameters ---------- sources : iterable of `lsst.afw.table.SourceCatalog` A collection of science source catalogs, one for each unit of processing to be incorporated into this metric. Its elements may be `None` to represent missing data. Returns ------- result : `lsst.pipe.base.Struct` A `~lsst.pipe.base.Struct` containing the following component: ``measurement`` the total number of science sources (`lsst.verify.Measurement` or `None`)
Definition at line 53 of file metrics.py.
|
static |
Definition at line 51 of file metrics.py.