ImagePlanes

class lsst.cell_coadds.ImagePlanes

Bases: ABC

Struct interface for the image-like planes we coadd.

Notes

The extends the set of planes in lsst.afw.image.MaskedImage by adding noise realizations and “mask fraction” images.

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

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 Documentation

asMaskedImage() MaskedImageF

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