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 targetImagePlanes
instance.- Parameters:
- target
ImagePlanes
Planes to construct views of.
- make_view
Callable
Callable that takes an original image plane and returns a view into it.
- bbox
Box2I
, optional Bounding box of the new image plane. Defaults to
target.bbox
.
- target
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
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.