StitchedCoadd¶
- class lsst.cell_coadds.StitchedCoadd(cell_coadd: MultipleCellCoadd, *, bbox: Box2I | None = None)¶
- Bases: - StitchedImagePlanes,- CommonComponentsProperties- A lazy-evaluation coadd that stitches together images from adjacent cells. - Parameters:
- cell_coaddMultipleCellCoadd
- Cell-based coadd to stitch together. 
- bboxBox2I, optional
- The region over which a contiguous coadd is desired. Defaults to - cell_coadd.outer_bbox.
 
- cell_coadd
 - Notes - This class simply inserts subimages from each cell into the full image, doing so when an attribute is first accessed to avoid stitching together planes that may never be accessed. - A - StitchedCoaddcannot be serialized in FITS format directly. Instead, the recommended way is to serialize the- MultipleCellCoaddinstance that was used to construct the object and reconstruct the- StitchedCoaddby calling the- stitchmethod on it. A less recommended way is to call the- asExposuremethod to get an- lsst.afw.image.Exposureobject and persist that to the disk.- Attributes Summary - String label for the filter bandpass. - The bounding box common to all image planes. - Struct of image components common to all cells in a patch. - Object that defines the piecewise grid (of inner cell regions) that this object stitches together. - Struct of unique identifiers for this coadd's patch. - 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. - The piecewise PSF of this image. - Units of the coadd's data pixels. - Per-pixel variances for the image. - World Coordinate System object that maps the pixel grid to sky coordinates. - Methods Summary - Return an - lsst.afw.image.Exposureview of this piecewise image.- Return an - lsst.afw.image.MaskedImageview of the image, mask, and variance planes.- Remove any cached - imageplane.- Remove any cached - maskplane.- Remove any cached - mask_fractionplanes.- Remove any cached - noise_realizationplanes.- Remove any cached - varianceplane.- Attributes Documentation - band¶
- String label for the filter bandpass. - May be - Noneonly for coadds that represent a combination of multiple passbands (e.g. chi^2 detection coadds), not just to indicate absence of knowledge.
 - bbox¶
 - common¶
 - grid¶
- Object that defines the piecewise grid (of inner cell regions) that this object stitches together. - This may include cells outside the region covered by these image planes. 
 - identifiers¶
- Struct of unique identifiers for this coadd’s patch. 
 - image¶
 - mask¶
 - mask_fraction_names¶
 - mask_fractions¶
 - n_noise_realizations¶
 - noise_realizations¶
 - psf¶
- The piecewise PSF of this image. 
 - units¶
- Units of the coadd’s data pixels. 
 - variance¶
 - wcs¶
- World Coordinate System object that maps the pixel grid to sky coordinates. 
 - Methods Documentation - asExposure() ExposureF¶
- Return an - lsst.afw.image.Exposureview of this piecewise image.
 - asMaskedImage() MaskedImageF¶
- Return an - lsst.afw.image.MaskedImageview of the image, mask, and variance planes.