StitchedImagePlanes#

class lsst.cell_coadds.StitchedImagePlanes#

Bases: ImagePlanes

An ImagePlanes intermediate base class that stitches together per-cell images.

Parameters#

bboxBox2I

The region over which contiguous piecewise images are desired.

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.

Attributes Summary

grid

Object that defines the piecewise grid this object stitches together.

image

The data image itself.

mask

An integer bitmask.

mask_fraction_names

The names of all mask planes whose fractions were propagated in any cell.

mask_fractions

The (weighted) fraction of masked pixels that contribute to each pixel.

n_noise_realizations

The number of noise realizations cells are guaranteed to have.

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

uncache_image()

Remove any cached image plane.

uncache_mask()

Remove any cached mask plane.

uncache_mask_fraction()

Remove any cached mask_fraction planes.

uncache_noise_realizations()

Remove any cached noise_realization planes.

uncache_variance()

Remove any cached variance plane.

Attributes Documentation

grid#

Object that defines the piecewise grid this object stitches together.

This may include cells outside the region covered by these image planes.

image#
mask#
mask_fraction_names#

The names of all mask planes whose fractions were propagated in any cell.

Cells that do not have a mask fraction for a particular name may be assumed to have the fraction for that mask plane uniformly zero.

mask_fractions#
n_noise_realizations#

The number of noise realizations cells are guaranteed to have.

noise_realizations#
variance#

Methods Documentation

uncache_image() None#

Remove any cached image plane.

uncache_mask() None#

Remove any cached mask plane.

uncache_mask_fraction() None#

Remove any cached mask_fraction planes.

uncache_noise_realizations() None#

Remove any cached noise_realization planes.

uncache_variance() None#

Remove any cached variance plane.