KernelPsf

class lsst.meas.algorithms.KernelPsf

Bases: lsst.meas.algorithms.ImagePsf

Attributes Summary

COPY
INTERNAL

Methods Summary

clone(self)
computeApertureFlux(self, radius, position, …)
computeBBox(self, position, nan), color)
computeImage(self, position, nan), color, owner)
computeImageBBox(self, position, nan), color)
computeKernelBBox(self, position, nan), color)
computeKernelImage(self, position, nan), …)
computePeak(self, position, nan), color)
computeShape(self, position, nan), color)
getAverageColor(self)
getAveragePosition(self)
getCacheCapacity(self)
getKernel(self)
getLocalKernel(self, position, nan), 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.meas.algorithms.kernelPsf.KernelPsf) → lsst.afw.detection.Psf
computeApertureFlux(self: lsst.afw.detection.Psf, radius: float, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff69e4cccb0>) → float
computeBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff69e3c1fb0>) → lsst.geom.Box2I
computeImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff6a6ac3530>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst::afw::image::Image<double>
computeImageBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff69e4ccef0>) → lsst.geom.Box2I
computeKernelBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff6a6b00270>) → lsst.geom.Box2I
computeKernelImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff6a6ad9670>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst::afw::image::Image<double>
computePeak(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff6a6ad9930>) → float
computeShape(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff69e4a8f30>) → lsst.afw.geom.ellipses.Quadrupole
getAverageColor(self: lsst.afw.detection.Psf) → lsst.afw.image.Color
getAveragePosition(self: lsst.meas.algorithms.kernelPsf.KernelPsf) → lsst.geom.Point2D
getCacheCapacity(self: lsst.afw.detection.Psf) → int
getKernel(self: lsst.meas.algorithms.kernelPsf.KernelPsf) → lsst.afw.math.Kernel
getLocalKernel(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7ff6a6b007f0>) → lsst::afw::math::Kernel
isPersistable(self: lsst.meas.algorithms.kernelPsf.KernelPsf) → bool
static readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int = -2147483648) -> lsst.meas.algorithms.kernelPsf.KernelPsf
  2. readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: int = -2147483648) -> lsst.meas.algorithms.kernelPsf.KernelPsf
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.

  1. writeFits(self: lsst.meas.algorithms.kernelPsf.KernelPsf, fileName: str, mode: str = ‘w’) -> None
  2. writeFits(self: lsst.meas.algorithms.kernelPsf.KernelPsf, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None