PcaPsf

class lsst.meas.algorithms.PcaPsf

Bases: KernelPsf

Attributes Summary

COPY

INTERNAL

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)

getKernel(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.meas.algorithms.PcaPsf) lsst.afw.detection.Psf
computeApertureFlux(self: lsst.afw.detection.Psf, radius: float, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e73d1d8b0>) float
computeBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e732316f0>) lsst.geom.Box2I
computeImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e76bc4830>, 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.Color = <lsst.afw.image.Color object at 0x7d7e7648e730>) lsst.geom.Box2I
computeKernelBBox(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e7323ebf0>) lsst.geom.Box2I
computeKernelImage(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e73cd48b0>, 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.Color = <lsst.afw.image.Color object at 0x7d7e732308f0>) float
computeShape(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e732117b0>) lsst.afw.geom.ellipses.Quadrupole
getAverageColor(self: lsst.afw.detection.Psf) lsst.afw.image.Color
getAveragePosition(self: lsst.meas.algorithms.KernelPsf) lsst.geom.Point2D
getCacheCapacity(self: lsst.afw.detection.Psf) int
getKernel(self: lsst.meas.algorithms.PcaPsf) lsst.afw.math.LinearCombinationKernel
getLocalKernel(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D, color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7d7e73cc5570>) lsst::afw::math::Kernel
isPersistable(self: lsst.meas.algorithms.KernelPsf) bool
static readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int = -2147483648) -> lsst.meas.algorithms.PcaPsf

  2. readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: int = -2147483648) -> lsst.meas.algorithms.PcaPsf

static recenterKernelImage(im: lsst.afw.image._image.ImageD, position: lsst.geom.Point2D, warpAlgorithm: str = 'lanczos5', warpBuffer: int = 5) lsst.afw.image._image.ImageD
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.PcaPsf, fileName: str, mode: str = ‘w’) -> None

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