SpatiallySampledMetricsTask#

class lsst.ip.diffim.SpatiallySampledMetricsTask(**kwargs)#

Bases: PipelineTask

Detect 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#

sciencelsst.afw.image.ExposureF

Science exposure that the template was subtracted from.

matchedTemplatelsst.afw.image.ExposureF

Warped and PSF-matched template that was used produce the difference image.

templatelsst.afw.image.ExposureF

Warped and non PSF-matched template that was used produce the difference image.

differencelsst.afw.image.ExposureF

Result of subtracting template from the science image.

diaSourceslsst.afw.table.SourceCatalog

The catalog of detected sources.

psfMatchingKernelLinearCombinationKernel

The PSF matching kernel of the subtraction to evaluate.

Returns#

resultslsst.pipe.base.Struct
spatiallySampledMetricsastropy.table.Table

Image quality metrics spatially sampled locations.