Psf¶
-
class
lsst.afw.detection.
Psf
¶ Bases:
lsst.afw.typehandling.Storable
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)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.afw.detection.Psf) → 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 0x7f174bc40af0>) → 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 0x7f174bb52db0>) → 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 0x7f174bf787b0>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst.afw.image.image.ImageD¶
-
computeImageBBox
(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7f174be926f0>) → 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 0x7f174bc40730>) → 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 0x7f174be83b30>, owner: lsst.afw.detection.Psf.ImageOwnerEnum = <ImageOwnerEnum.???: 0>) → lsst.afw.image.image.ImageD¶
-
computePeak
(self: lsst.afw.detection.Psf, position: lsst.geom.Point2D = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7f174c596770>) → 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 0x7f174bb33eb0>) → lsst.afw.geom.ellipses.Quadrupole¶
-
getAverageColor
(self: lsst.afw.detection.Psf) → lsst.afw.image.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 = Point2D(nan, nan), color: lsst.afw.image.Color = <lsst.afw.image.Color object at 0x7f174bc40830>) → 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.afw.detection.Psf
- readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: int = -2147483648) -> lsst.afw.detection.Psf
-
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.
- writeFits(self: lsst.afw.detection.Psf, fileName: str, mode: str = ‘w’) -> None
- writeFits(self: lsst.afw.detection.Psf, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None
-