ChebyshevBoundedField

class lsst.afw.math.ChebyshevBoundedField

Bases: lsst.afw.math.BoundedField

Methods Summary

addToImage(*args, **kwargs) Overloaded function.
approximate(boundedField[, orderX, orderY, …]) Approximate a bounded field as a ChebyshevBoundedField.
divideImage(*args, **kwargs) Overloaded function.
evaluate(*args, **kwargs) Overloaded function.
fillImage(*args, **kwargs) Overloaded function.
fit(*args, **kwargs) Overloaded function.
getBBox(self)
getCoefficients(self)
integrate(self)
isPersistable(self)
mean(self)
multiplyImage(*args, **kwargs) Overloaded function.
readFits(*args, **kwargs) Overloaded function.
truncate(self, arg0)
writeFits(*args, **kwargs) Overloaded function.

Methods Documentation

addToImage(*args, **kwargs)

Overloaded function.

  1. addToImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, scaleBy: float = 1.0, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
  2. addToImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, scaleBy: float = 1.0, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
classmethod approximate(boundedField, orderX=3, orderY=3, nStepX=100, nStepY=100)

Approximate a bounded field as a ChebyshevBoundedField.

Parameters:
boundedField : lsst.afw.math.BoundedField

A bounded field to approximate

orderX : int, optional

Order of the Chebyshev polynomial in the x direction. Default is 3.

orderY : int, optional

Order of the Chebyshev polynomial in the y direction. Default is 3.

nStepX : int, optional

Number of x steps to approximate boundedField. Default is 100.

nStepY : int, optional

Number of y steps to approximate boundedField. Default is 100.

Returns:
chebyshevBoundedField : lsst.afw.math.ChebyshevBoundedField
divideImage(*args, **kwargs)

Overloaded function.

  1. divideImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
  2. divideImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
evaluate(*args, **kwargs)

Overloaded function.

  1. evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: float, arg1: float) -> float
  2. evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: numpy.ndarray, arg1: numpy.ndarray) -> numpy.ndarray
  3. evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: lsst.geom.Point2D) -> float
fillImage(*args, **kwargs)

Overloaded function.

  1. fillImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
  2. fillImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
static fit(*args, **kwargs)

Overloaded function.

  1. fit(arg0: lsst.geom.Box2I, arg1: numpy.ndarray, arg2: numpy.ndarray, arg3: numpy.ndarray, arg4: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
  2. fit(arg0: lsst.geom.Box2I, arg1: numpy.ndarray, arg2: numpy.ndarray, arg3: numpy.ndarray, arg4: numpy.ndarray, arg5: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
  3. fit(arg0: lsst.afw.image.image.image.ImageD, arg1: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
  4. fit(arg0: lsst.afw.image.image.image.ImageF, arg1: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
getBBox(self: lsst.afw.math.boundedField.BoundedField) → lsst.geom.Box2I
getCoefficients(self: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField) → numpy.ndarray
integrate(self: lsst.afw.math.boundedField.BoundedField) → float
isPersistable(self: lsst.afw.math.boundedField.BoundedField) → bool
mean(self: lsst.afw.math.boundedField.BoundedField) → float
multiplyImage(*args, **kwargs)

Overloaded function.

  1. multiplyImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
  2. multiplyImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
static readFits(*args, **kwargs)

Overloaded function.

  1. readFits(fileName: str, hdu: int = -2147483648) -> lsst.afw.math.boundedField.BoundedField
  2. readFits(manager: lsst.afw.fits.fits.MemFileManager, hdu: int = -2147483648) -> lsst.afw.math.boundedField.BoundedField
truncate(self: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField, arg0: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) → lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
writeFits(*args, **kwargs)

Overloaded function.

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