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
The grid on which the images are placed.
The images that make up this PSF.
Methods Summary
clone
()Return a deep copy of this object.
computeApertureFlux
(self, radius, position, ...)computeBBox
(self, position, color)computeImage
(self, position, color, owner)computeImageBBox
(self, position, color)computeKernelBBox
(self, position, color)computeKernelImage
(self, position, color, owner)computePeak
(self, position, color)computeShape
(self, position, color)getAverageColor
(self)Get a position where PSF can be evaluated on a patch.
getCacheCapacity
(self)getLocalKernel
(self, position, color)isPersistable
(self)readFits
(name)Persist the PSF as a FITS file.
recenterKernelImage
(im, position, ...)resized
(self, width, height)setCacheCapacity
(self, arg0)writeFits
(name)Persist the PSF as a FITS file.
Attributes Documentation
- COPY = <ImageOwnerEnum.COPY: 0>¶
- INTERNAL = <ImageOwnerEnum.INTERNAL: 1>¶
- 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.
- computeApertureFlux(self: lsst.afw.detection.Psf, radius: float, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae3368f0>) float ¶
- computeBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4ab016c1f0>) lsst.geom.Box2I ¶
- computeImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aaefc2330>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) lsst::afw::image::Image<double> ¶
- computeImageBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae3378f0>) lsst.geom.Box2I ¶
- computeKernelBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae336a70>) lsst.geom.Box2I ¶
- computeKernelImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae3377b0>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) lsst::afw::image::Image<double> ¶
- computePeak(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae334db0>) float ¶
- computeShape(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4aae335c70>) lsst.afw.geom.ellipses.Quadrupole ¶
- getAverageColor(self: lsst.afw.detection.Psf) lsst.afw.image._imageLib.Color ¶
- 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.
- getCacheCapacity(self: lsst.afw.detection.Psf) int ¶
- getLocalKernel(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c4bf852a570>) lsst::afw::math::Kernel ¶
- static isPersistable(self: lsst.afw.table.io.Persistable) bool ¶
- static recenterKernelImage(im: lsst::afw::image::Image<double>, position: lsst.geom.Point2D, warpAlgorithm: str = 'lanczos5', warpBuffer: int = 5) lsst::afw::image::Image<double> ¶
- resized(self: lsst.afw.detection.Psf, width: int, height: int) lsst.afw.detection.Psf ¶
- setCacheCapacity(self: lsst.afw.detection.Psf, arg0: int) None ¶