StitchedPsf#

class lsst.cell_coadds.StitchedPsf(images: GridContainer[ImageD], grid: UniformGrid)#

Bases: ImagePsf

A piecewise PSF implementation backed by a 2-d grid of images.

Attributes Summary

grid

The grid on which the images are placed.

images

The images that make up this PSF.

Methods Summary

clone()

Return a deep copy of this object.

getAveragePosition()

Get a position where PSF can be evaluated on a patch.

isPersistable(self)

readFits(name)

Persist the PSF as a FITS file.

resized(self, width, height)

writeFits(name)

Persist the PSF as a FITS file.

Attributes Documentation

grid#

The grid on which the images are placed.

images#

The images that make up this PSF.

Methods Documentation

clone() StitchedPsf#

Return a deep copy of this object.

getAveragePosition() Point2D#

Get a position where PSF can be evaluated on a patch.

This defaults to the center of the patch bounding box, unless there are no inputs there. In that case, it switches to find an arbitrary cell, typically at a corner that has inputs and returns the center position of the cell.

static isPersistable(self: lsst.afw.table.io.Persistable) bool#
readFits(name: str) None#

Persist the PSF as a FITS file.

resized(self: lsst.afw.detection.Psf, width: SupportsInt, height: SupportsInt) lsst.afw.detection.Psf#
writeFits(name: str) None#

Persist the PSF as a FITS file.