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:
PipelineTaskTask 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#
- image
lsst.afw.image.Image Image mosaicked from the individual binned images for each detector.
- exposures:
- run(inputExps, camera, inputIds=None)#
Mosaic inputs together to create focal plane image.
Parameters#
- inputExps
list[lsst.afw.image.Exposure] Input exposure data to bin.
- camera
lsst.afw.cameraGeom.Camera Input camera to use for mosaic geometry.
- inputIds
list[int], optional Optional list providing exposure IDs corresponding to input exposures. Will be generated via the exposure data
getDetectormethod if not provided.
Returns#
- output
lsst.pipe.base.Struct Results struct with attribute:
outputExpBinned version of input image (
lsst.afw.image.Exposure).
- inputExps