FractionDiaSourcesToSciSourcesMetricTask¶
FractionDiaSourcesToSciSourcesMetricTask
computes the fraction of science sources that become DIASources when processed through image differencing (as the ip_diffim.fracDiaSourcesToSciSources
metric).
It requires source catalogs as input, and can operate at image-level granularity.
Processing summary¶
FractionDiaSourcesToSciSourcesMetricTask
reads source catalogs (src
and deepDiff_diaSrc
datasets, by default) and counts the number of sources.
It then computes the ratio of DIASources to science sources for those catalogs.
Non-primary sources are excluded from computations.
Python API summary¶
from lsst.ip.diffim.metrics import FractionDiaSourcesToSciSourcesMetricTask
-
class
(**kwargs)FractionDiaSourcesToSciSourcesMetricTask
Task that computes the ratio of difference image sources to science sources in an image, visit, etc
...
-
attribute
config
Access configuration fields and retargetable subtasks.
See also
See the FractionDiaSourcesToSciSourcesMetricTask
API reference for complete details.
Butler datasets¶
Input datasets¶
sciSources
- The catalog type for science sources (default:
src
). diaSources
- The catalog type for DIASources (default:
deepDiff_diaSrc
).
Retargetable subtasks¶
No subtasks.