SpatiallySampledMetricsTask#
- class lsst.ip.diffim.SpatiallySampledMetricsTask(**kwargs)#
Bases:
PipelineTaskDetect and measure sources on a difference image.
Methods Summary
run(science, matchedTemplate, template, ...)Calculate difference image metrics on specific locations across the images
Methods Documentation
- run(science, matchedTemplate, template, difference, diaSources, psfMatchingKernel)#
Calculate difference image metrics on specific locations across the images
Parameters#
- science
lsst.afw.image.ExposureF Science exposure that the template was subtracted from.
- matchedTemplate
lsst.afw.image.ExposureF Warped and PSF-matched template that was used produce the difference image.
- template
lsst.afw.image.ExposureF Warped and non PSF-matched template that was used produce the difference image.
- difference
lsst.afw.image.ExposureF Result of subtracting template from the science image.
- diaSources
lsst.afw.table.SourceCatalog The catalog of detected sources.
- psfMatchingKernel
LinearCombinationKernel The PSF matching kernel of the subtraction to evaluate.
Returns#
- results
lsst.pipe.base.Struct spatiallySampledMetricsastropy.table.TableImage quality metrics spatially sampled locations.
- science