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.
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
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.
- boundedField
- Returns
- chebyshevBoundedField
lsst.afw.math.ChebyshevBoundedField
- chebyshevBoundedField
-
divideImage
(*args, **kwargs)¶ Overloaded function.
divideImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool=False, xStep: int=1, yStep: int=1) -> None
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.
evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: float, arg1: float) -> float
evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: ndarray::Array<double const, 1, 0>, arg1: ndarray::Array<double const, 1, 0>) -> ndarray::Array<double, 1, 1>
evaluate(self: lsst.afw.math.boundedField.BoundedField, arg0: lsst.geom.Point2D) -> float
-
fillImage
(*args, **kwargs)¶ Overloaded function.
fillImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool=False, xStep: int=1, yStep: int=1) -> None
fillImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, overlapOnly: bool=False, xStep: int=1, yStep: int=1) -> None
-
fit
(*args, **kwargs)¶ Overloaded function.
fit(arg0: lsst.geom.Box2I, arg1: ndarray::Array<double const, 1, 0>, arg2: ndarray::Array<double const, 1, 0>, arg3: ndarray::Array<double const, 1, 0>, arg4: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
fit(arg0: lsst.geom.Box2I, arg1: ndarray::Array<double const, 1, 0>, arg2: ndarray::Array<double const, 1, 0>, arg3: ndarray::Array<double const, 1, 0>, arg4: ndarray::Array<double const, 1, 0>, arg5: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
fit(arg0: lsst.afw.image.image.image.ImageD, arg1: lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedFieldControl) -> lsst.afw.math.chebyshevBoundedField.ChebyshevBoundedField
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) → ndarray::Array<double const, 2, 2>¶
-
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.
multiplyImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageD, overlapOnly: bool=False, xStep: int=1, yStep: int=1) -> None
multiplyImage(self: lsst.afw.math.boundedField.BoundedField, image: lsst.afw.image.image.image.ImageF, overlapOnly: bool=False, xStep: int=1, yStep: int=1) -> None
-
readFits
(*args, **kwargs)¶ Overloaded function.
readFits(fileName: str, hdu: int=-2147483648) -> lsst.afw.math.boundedField.BoundedField
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.
writeFits(self: lsst.afw.math.boundedField.BoundedField, fileName: str, mode: str=’w’) -> None
writeFits(self: lsst.afw.math.boundedField.BoundedField, manager: lsst.afw.fits.fits.MemFileManager, mode: str=’w’) -> None
-