CpSkyImageTask#

class lsst.cp.pipe.CpSkyImageTask(**kwargs)#

Bases: PipelineTask

Mask the detections on the postISRCCD.

This task maps the MaskObjectsTask across all of the initial ISR processed cpSkyIsr images to create cpSkyMaskedIsr products for all (exposure, detector) values.

Methods Summary

run(inputExp, camera)

Mask the detections on the postISRCCD.

Methods Documentation

run(inputExp, camera)#

Mask the detections on the postISRCCD.

Parameters#

inputExplsst.afw.image.Exposure

An ISR processed exposure that will have detections masked.

cameralsst.afw.cameraGeom.Camera

The camera geometry for this exposure. This is needed to create the background model.

Returns#

resultslsst.pipe.base.Struct

The results struct containing:

maskedExplsst.afw.image.Exposure

The detection-masked version of the inputExp.

maskedBkglsst.pipe.tasks.background.FocalPlaneBackground

The partial focal plane background containing only this exposure/detector’s worth of data.