CosmicRayPostDiffTask#
- class lsst.pipe.tasks.cosmicRayPostDiff.CosmicRayPostDiffTask(**kwargs)#
Bases:
PipelineTaskDetect and repair cosmic rays on an image difference. Given an output image from image differencing:
detect and repair cosmic rays
At the moment this task does NOT recompute the PSF or re-do source detection.
To invoke the task, Call the
runmethod.Methods Summary
run(exposure)Run cosmic ray detection and repair on imageDifference outputs
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(exposure)#
Run cosmic ray detection and repair on imageDifference outputs
Parameters#
- exposure
lsst.afw.image.Exposure: The following changes are made to the exposure, - Blank cosmic ray mask planes, run CR detection and repair, update CR mask plane
Returns#
lsst.pipe.base.Struct:Struct containing the input image with the CR mask plane first blanked, and then cosmic rays detected, and the mask is updated accordingly. The PSF model is NOT changed.
- exposure
- 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