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, image: lsst.afw.image.image.ImageD, scaleBy: float = 1.0, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
- addToImage(self: lsst.afw.math.BoundedField, image: lsst.afw.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
- boundedField :
-
divideImage
(*args, **kwargs)¶ Overloaded function.
- divideImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
- divideImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
-
evaluate
(*args, **kwargs)¶ Overloaded function.
- evaluate(self: lsst.afw.math.BoundedField, arg0: float, arg1: float) -> float
- evaluate(self: lsst.afw.math.BoundedField, arg0: numpy.ndarray, arg1: numpy.ndarray) -> numpy.ndarray
- evaluate(self: lsst.afw.math.BoundedField, arg0: lsst.geom.Point2D) -> float
-
fillImage
(*args, **kwargs)¶ Overloaded function.
- fillImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
- fillImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
-
static
fit
(*args, **kwargs)¶ Overloaded function.
- fit(arg0: lsst.geom.Box2I, arg1: numpy.ndarray, arg2: numpy.ndarray, arg3: numpy.ndarray, arg4: lsst.afw.math.ChebyshevBoundedFieldControl) -> lsst.afw.math.ChebyshevBoundedField
- fit(arg0: lsst.geom.Box2I, arg1: numpy.ndarray, arg2: numpy.ndarray, arg3: numpy.ndarray, arg4: numpy.ndarray, arg5: lsst.afw.math.ChebyshevBoundedFieldControl) -> lsst.afw.math.ChebyshevBoundedField
- fit(arg0: lsst.afw.image.image.ImageD, arg1: lsst.afw.math.ChebyshevBoundedFieldControl) -> lsst.afw.math.ChebyshevBoundedField
- fit(arg0: lsst.afw.image.image.ImageF, arg1: lsst.afw.math.ChebyshevBoundedFieldControl) -> lsst.afw.math.ChebyshevBoundedField
-
getBBox
(self: lsst.afw.math.BoundedField) → lsst.geom.Box2I¶
-
getCoefficients
(self: lsst.afw.math.ChebyshevBoundedField) → numpy.ndarray¶
-
integrate
(self: lsst.afw.math.BoundedField) → float¶
-
isPersistable
(self: lsst.afw.table.io.Persistable) → bool¶
-
mean
(self: lsst.afw.math.BoundedField) → float¶
-
multiplyImage
(*args, **kwargs)¶ Overloaded function.
- multiplyImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageD, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
- multiplyImage(self: lsst.afw.math.BoundedField, image: lsst.afw.image.image.ImageF, overlapOnly: bool = False, xStep: int = 1, yStep: int = 1) -> None
-
static
readFits
(*args, **kwargs)¶ Overloaded function.
- readFits(fileName: str, hdu: int = -2147483648) -> lsst.afw.math.BoundedField
- readFits(manager: lsst.afw.fits._fits.MemFileManager, hdu: int = -2147483648) -> lsst.afw.math.BoundedField
-
truncate
(self: lsst.afw.math.ChebyshevBoundedField, arg0: lsst.afw.math.ChebyshevBoundedFieldControl) → lsst.afw.math.ChebyshevBoundedField¶
-
writeFits
(*args, **kwargs)¶ Overloaded function.
- writeFits(self: lsst.afw.math.BoundedField, fileName: str, mode: str = ‘w’) -> None
- writeFits(self: lsst.afw.math.BoundedField, manager: lsst.afw.fits._fits.MemFileManager, mode: str = ‘w’) -> None
-