OwnedImagePlanes#
- class lsst.cell_coadds.OwnedImagePlanes(*, image: ImageLike, mask: Mask, variance: ImageLike, mask_fractions: ImageLike | None = None, noise_realizations: Sequence[ImageLike] = ())#
Bases:
ImagePlanesAn implementation of the
ImagePlanesinterface backed by actual afw objects.Attributes Summary
The bounding box common to all image planes.
The data image itself.
An integer bitmask.
The (weighted) fraction of masked pixels that contribute to each pixel.
A sequence of noise realizations that were coadded with the same operations that were appled to the data image.
Per-pixel variances for the image.
Methods Summary
from_masked_image(masked_image[, ...])Construct from an
lsst.afw.image.MaskedImage.Attributes Documentation
- bbox#
- image#
- mask#
- mask_fractions#
- noise_realizations#
- variance#
Methods Documentation
- classmethod from_masked_image(masked_image: MaskedImage, mask_fractions: ImageLike | None = None, noise_realizations: Sequence[ImageLike] = ()) Self#
Construct from an
lsst.afw.image.MaskedImage.Parameters#
- masked_image
MaskedImage The image to construct from. The image, mask and variance planes of
masked_imagewill be used as the image, mask and variance planes of the constructed object.- mask_fractions
ImageLike, optional The mask fractions image.
- noise_realizations
Sequence[ImageLike], optional The noise realizations.
Returns#
- self
OwnedImagePlanes An instance of OwnedImagePlanes.
- masked_image