Psf#

class lsst.afw.detection.Psf#

Bases: Storable

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: typing.SupportsFloat | typing.SupportsIndex, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c1fea2594f0>) → float#
computeBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c1fea4b6cf0>) → 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 0x7c1fea49dd70>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst.afw.image._image.ImageD#
computeImageBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c1fed2d0f30>) → 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 0x7c1fea25bef0>) → 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 0x7c1fea49ef30>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst.afw.image._image.ImageD#
computePeak(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c1fed4f79b0>) → float#
computeShape(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image._imageLib.Color = <lsst.afw.image._imageLib.Color object at 0x7c1fea2586b0>) → 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 0x7c1fea25b2b0>) → lsst::afw::math::Kernel#
isPersistable(self: lsst.afw.detection.Psf) → bool#
static readFits(*args, **kwargs)#

Overloaded function.

  1. readFits(fileName: str, hdu: typing.SupportsInt | typing.SupportsIndex = -2147483648) -> lsst.afw.detection.Psf

  2. readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: typing.SupportsInt | typing.SupportsIndex = -2147483648) -> lsst.afw.detection.Psf

static recenterKernelImage(im: lsst.afw.image._image.ImageD, position: lsst.geom.Point2D, warpAlgorithm: str = 'lanczos5', warpBuffer: SupportsInt | SupportsIndex = 5) → lsst.afw.image._image.ImageD#
resized(self: lsst.afw.detection.Psf, width: SupportsInt | SupportsIndex, height: SupportsInt | SupportsIndex) → lsst.afw.detection.Psf#
setCacheCapacity(self: lsst.afw.detection.Psf, arg0: SupportsInt | SupportsIndex) → None#
writeFits(*args, **kwargs)#

Overloaded function.

  1. writeFits(self: lsst.afw.detection.Psf, fileName: str, mode: str = ‘w’) -> None

  2. writeFits(self: lsst.afw.detection.Psf, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None