SpatiallySampledMetricsTask#
- class lsst.ip.diffim.SpatiallySampledMetricsTask(**kwargs)#
Bases:
PipelineTaskDetect and measure sources on a difference image.
Methods Summary
run(science, template, difference, ...)Calculate difference image metrics on specific locations across the images
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(science, 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.
- 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
- runQuantum(butlerQC, inputRefs, outputRefs)#
Do butler IO and transform to provide in memory objects for tasks
runmethod.Parameters#
- butlerQC
QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
InputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined input/prerequisite connections.- outputRefs
OutputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined output connections.
- butlerQC