Function lsst::afw::geom::makeRadialTransform(std::vector<double> const&)¶
Function Documentation¶
-
std::shared_ptr<TransformPoint2ToPoint2>
lsst::afw::geom::makeRadialTransform(std::vector<double> const &coeffs) A purely radial polynomial distortion.
The Transform transforms an input \(x\) to
\[ \frac{x}{r} \sum_{i=1}^{N} \mathrm{coeffs[i]} \ r^i \]where \(r\) is the magnitude of \(x\).- Return
the radial distortion represented by
coeffs. The Transform shall have an inverse, which may be approximate.- Parameters
coeffs: radial polynomial coefficients. May be an empty vector to represent the identity transformation; otherwise must havesize> 1,coeffs[0]= 0, andcoeffs[1]0.
- Exceptions
pex::exceptions::InvalidParameterError: Thrown ifcoeffsdoes not have the required format. Provides basic exception safety.