ImagePsf¶
- class lsst.meas.algorithms.ImagePsf¶
Bases:
Psf
Attributes Summary
Methods Summary
clone
(self)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)getAveragePosition
(self)getCacheCapacity
(self)getLocalKernel
(self, position, color)isPersistable
(self)readFits
(*args, **kwargs)Overloaded function.
recenterKernelImage
(im, position, ...)resized
(self, width, height)setCacheCapacity
(self, arg0)writeFits
(*args, **kwargs)Overloaded function.
Attributes Documentation
- COPY = <ImageOwnerEnum.COPY: 0>¶
- INTERNAL = <ImageOwnerEnum.INTERNAL: 1>¶
Methods Documentation
- clone(self: lsst.afw.detection.Psf) lsst.afw.detection.Psf ¶
- 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 0x7e338ae00730>) float ¶
- computeBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7e338adf2e30>) 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 0x7e338ae29770>, 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 0x7e338b296170>) 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 0x7e338a6b67b0>) 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 0x7e338a6b60b0>, 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 0x7e338ae00e30>) float ¶
- computeShape(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7e338a6b63b0>) lsst.afw.geom.ellipses.Quadrupole ¶
- getAverageColor(self: lsst.afw.detection.Psf) lsst.afw.image._imageLib.Color ¶
- getAveragePosition(self: lsst.afw.detection.Psf) lsst.geom.Point2D ¶
- 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 0x7e338ae2bf30>) lsst::afw::math::Kernel ¶
- isPersistable(self: lsst.afw.table.io.Persistable) bool ¶
- static readFits(*args, **kwargs)¶
Overloaded function.
readFits(fileName: str, hdu: int = -2147483648) -> lsst.meas.algorithms.ImagePsf
readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: int = -2147483648) -> lsst.meas.algorithms.ImagePsf
- 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 ¶
- writeFits(*args, **kwargs)¶
Overloaded function.
writeFits(self: lsst.meas.algorithms.ImagePsf, fileName: str, mode: str = ‘w’) -> None
writeFits(self: lsst.meas.algorithms.ImagePsf, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None