ExplodedCoadd¶
- class lsst.cell_coadds.ExplodedCoadd(cell_coadd: MultipleCellCoadd, *, pad_psfs_with: float | None = None)¶
Bases:
StitchedImagePlanes
A lazy-evaluation coadd that stitches together the outer regions of the cells in a
MultipleCellCoadd
(including multiple values for most pixels).- Parameters:
- cell_coadd
MultipleCellCoadd
Cell-based coadd to stitch together.
- pad_psfs_with
float
orNone
, optional A floating-point value to pad PSF images with so each PSF-image cell has the same dimensions as the image (outer) cell it corresponds to. If
None
, PSF images will not be padded and the full PSF image will generally be smaller than the exploded image it corresponds to.
- cell_coadd
Notes
An
ExplodedCoadd
cannot be serialized in FITS format directly. Instead, the recommended way is to serialize theMultipleCellCoadd
instance that was used to construct the object and reconstruct theExplodedCoadd
by calling theexplode
method on it.Attributes Summary
The bounding box common to all image planes.
Object that defines the piecewise grid (of outer cell regions) that this object stitches together.
The data image itself.
An integer bitmask.
The names of all mask planes whose fractions were propagated in any cell.
The (weighted) fraction of masked pixels that contribute to each pixel.
The number of noise realizations cells are guaranteed to have.
A sequence of noise realizations that were coadded with the same operations that were appled to the data image.
Object that describes the grid on which PSF model images are stitched together.
A stitched-together image of the PSF models for each cell.
Per-pixel variances for the image.
Methods Summary
Return an
lsst.afw.image.MaskedImage
view of the image, mask, and variance planes.Remove any cached
image
plane.Remove any cached
mask
plane.Remove any cached
mask_fraction
planes.Remove any cached
noise_realization
planes.Remove any cached
variance
plane.Attributes Documentation
- bbox¶
- grid¶
Object that defines the piecewise grid (of outer cell regions) that this object stitches together.
This grid always starts at
(0, 0)
; because there is no way to align this “exploded” grid with the inner cell grid over more than one cell, no attempt is made to align it with the inner cell grid’s overall offset.
- image¶
- mask¶
- mask_fraction_names¶
- mask_fractions¶
- n_noise_realizations¶
- noise_realizations¶
- psf_grid¶
Object that describes the grid on which PSF model images are stitched together.
- psf_image¶
A stitched-together image of the PSF models for each cell.
- variance¶
Methods Documentation
- asMaskedImage() MaskedImageF ¶
Return an
lsst.afw.image.MaskedImage
view of the image, mask, and variance planes.