Kernel

class lsst.afw.math.Kernel

Bases: pybind11_builtins.pybind11_object

Methods Summary

clone(self)
computeCache(self, arg0)
computeImage(self, image, doNormalize, x, y)
computeKernelParametersFromSpatialModel(…)
getBBox(self)
getCacheSize(self)
getCtr(self)
getCtrX(self)
getCtrY(self)
getDimensions(self)
getHeight(self)
getKernelParameter(self, arg0)
getKernelParameters(self)
getNKernelParameters(self)
getNSpatialParameters(self)
getSpatialFunction(self, arg0)
getSpatialFunctionList(self)
getSpatialParameters(self)
getWidth(self)
growBBox(self, arg0)
isPersistable(self)
isSpatiallyVarying(self)
readFits(*args, **kwargs) Overloaded function.
resized(self, width, height)
setCtr(self, arg0)
setCtrX(self, arg0)
setCtrY(self, arg0)
setDimensions(self, arg0)
setHeight(self, arg0)
setKernelParameters(*args, **kwargs) Overloaded function.
setSpatialParameters(self, arg0)
setWidth(self, arg0)
shrinkBBox(self, arg0)
toString(self, prefix)
writeFits(*args, **kwargs) Overloaded function.

Methods Documentation

clone(self: lsst.afw.math.kernel.kernel.Kernel) → lsst.afw.math.kernel.kernel.Kernel
computeCache(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → None
computeImage(self: lsst.afw.math.kernel.kernel.Kernel, image: lsst.afw.image.image.image.ImageD, doNormalize: bool, x: float=0.0, y: float=0.0) → float
computeKernelParametersFromSpatialModel(self: lsst.afw.math.kernel.kernel.Kernel, arg0: List[float], arg1: float, arg2: float) → None
getBBox(self: lsst.afw.math.kernel.kernel.Kernel) → lsst.geom.Box2I
getCacheSize(self: lsst.afw.math.kernel.kernel.Kernel) → int
getCtr(self: lsst.afw.math.kernel.kernel.Kernel) → lsst.geom.Point2I
getCtrX(self: lsst.afw.math.kernel.kernel.Kernel) → int

Deprecated since version Use: getCtr instead. To be removed after 20.0.0.

getCtrY(self: lsst.afw.math.kernel.kernel.Kernel) → int

Deprecated since version Use: getCtr instead. To be removed after 20.0.0.

getDimensions(self: lsst.afw.math.kernel.kernel.Kernel) → lsst.geom.Extent2I
getHeight(self: lsst.afw.math.kernel.kernel.Kernel) → int
getKernelParameter(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → float
getKernelParameters(self: lsst.afw.math.kernel.kernel.Kernel) → List[float]
getNKernelParameters(self: lsst.afw.math.kernel.kernel.Kernel) → int
getNSpatialParameters(self: lsst.afw.math.kernel.kernel.Kernel) → int
getSpatialFunction(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → lsst.afw.math.function.Function2D
getSpatialFunctionList(self: lsst.afw.math.kernel.kernel.Kernel) → List[lsst.afw.math.function.Function2D]
getSpatialParameters(self: lsst.afw.math.kernel.kernel.Kernel) → List[List[float]]
getWidth(self: lsst.afw.math.kernel.kernel.Kernel) → int
growBBox(self: lsst.afw.math.kernel.kernel.Kernel, arg0: lsst.geom.Box2I) → lsst.geom.Box2I
isPersistable(self: lsst.afw.math.kernel.kernel.Kernel) → bool
isSpatiallyVarying(self: lsst.afw.math.kernel.kernel.Kernel) → bool
readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int=-2147483648) -> lsst.afw.math.kernel.kernel.Kernel
  2. readFits(manager: lsst.afw.fits.fits.MemFileManager, hdu: int=-2147483648) -> lsst.afw.math.kernel.kernel.Kernel
resized(self: lsst.afw.math.kernel.kernel.Kernel, width: int, height: int) → lsst.afw.math.kernel.kernel.Kernel
setCtr(self: lsst.afw.math.kernel.kernel.Kernel, arg0: lsst.geom.Point2I) → None
setCtrX(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → None

Deprecated since version Use: setCtr instead. To be removed after 20.0.0.

setCtrY(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → None

Deprecated since version Use: setCtr instead. To be removed after 20.0.0.

setDimensions(self: lsst.afw.math.kernel.kernel.Kernel, arg0: lsst.geom.Extent2I) → None
setHeight(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → None
setKernelParameters(*args, **kwargs)

Overloaded function.

  1. setKernelParameters(self: lsst.afw.math.kernel.kernel.Kernel, arg0: List[float]) -> None
  2. setKernelParameters(self: lsst.afw.math.kernel.kernel.Kernel, arg0: Tuple[float, float]) -> None
setSpatialParameters(self: lsst.afw.math.kernel.kernel.Kernel, arg0: List[List[float]]) → None
setWidth(self: lsst.afw.math.kernel.kernel.Kernel, arg0: int) → None
shrinkBBox(self: lsst.afw.math.kernel.kernel.Kernel, arg0: lsst.geom.Box2I) → lsst.geom.Box2I
toString(self: lsst.afw.math.kernel.kernel.Kernel, prefix: str='') → str
writeFits(*args, **kwargs)

Overloaded function.

  1. writeFits(self: lsst.afw.math.kernel.kernel.Kernel, fileName: str, mode: str=’w’) -> None
  2. writeFits(self: lsst.afw.math.kernel.kernel.Kernel, manager: lsst.afw.fits.fits.MemFileManager, mode: str=’w’) -> None