VisualizeMosaicExpTask#

class lsst.pipe.tasks.visualizeVisit.VisualizeMosaicExpTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Task to mosaic binned products.

The config.binning parameter must match that used in the VisualizeBinExpTask. Otherwise there will be a mismatch between the input image size and the expected size of that image in the full focal plane frame.

Methods Summary

makeCameraImage(inputExps, camera, binning)

Make an image of an entire focal plane.

run(inputExps, camera[, inputIds])

Mosaic inputs together to create focal plane image.

Methods Documentation

makeCameraImage(inputExps, camera, binning)#

Make an image of an entire focal plane.

Parameters#

exposures: dict [int, lsst.afw.image.Exposure]

CCD exposures, binned by binning. The keys are the detectorIDs, with the values the binned image exposure.

Returns#

imagelsst.afw.image.Image

Image mosaicked from the individual binned images for each detector.

run(inputExps, camera, inputIds=None)#

Mosaic inputs together to create focal plane image.

Parameters#

inputExpslist [lsst.afw.image.Exposure]

Input exposure data to bin.

cameralsst.afw.cameraGeom.Camera

Input camera to use for mosaic geometry.

inputIdslist [int], optional

Optional list providing exposure IDs corresponding to input exposures. Will be generated via the exposure data getDetector method if not provided.

Returns#

outputlsst.pipe.base.Struct

Results struct with attribute:

outputExp

Binned version of input image (lsst.afw.image.Exposure).