ChebyshevBoundedField#
- class lsst.afw.math.ChebyshevBoundedField#
Bases:
BoundedFieldMethods Summary
approximate(boundedField[, orderX, orderY, ...])Approximate a bounded field as a ChebyshevBoundedField.
fit(*args, **kwargs)Overloaded function.
getCoefficients(self)makeFitMatrix(arg0, arg1, arg2, arg3)truncate(self, arg0)Methods Documentation
- 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
- 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
- getCoefficients(self: lsst.afw.math.ChebyshevBoundedField) numpy.ndarray#
- static makeFitMatrix(arg0: lsst.geom.Box2I, arg1: numpy.ndarray, arg2: numpy.ndarray, arg3: lsst.afw.math.ChebyshevBoundedFieldControl) numpy.ndarray#