ViewImagePlanes

class lsst.cell_coadds.ViewImagePlanes(target: ImagePlanes, make_view: Callable[[ImageLike], ImageLike], bbox: Box2I | None = None)

Bases: ImagePlanes

An implementation of the ImagePlanes interface that extracts views from another target ImagePlanes instance.

Parameters:
targetImagePlanes

Planes to construct views of.

make_viewCallable

Callable that takes an original image plane and returns a view into it.

bboxBox2I, optional

Bounding box of the new image plane. Defaults to target.bbox.

Attributes Summary

bbox

The bounding box common to all image planes.

image

The data image itself.

mask

An integer bitmask.

mask_fractions

The (weighted) fraction of masked pixels that contribute to each pixel.

noise_realizations

A sequence of noise realizations that were coadded with the same operations that were appled to the data image.

variance

Per-pixel variances for the image.

Methods Summary

asMaskedImage()

Return an lsst.afw.image.MaskedImage view of the image, mask, and variance planes.

Attributes Documentation

bbox
image
mask
mask_fractions
noise_realizations
variance

Methods Documentation

asMaskedImage() MaskedImageF

Return an lsst.afw.image.MaskedImage view of the image, mask, and variance planes.