ZernikeAnnularFit¶
- lsst.ts.wep.cwfs.ZernikeAnnularFit(s, x, y, numTerms, e, nMax=None)¶
Get the coefficients of annular Zernike polynomials by fitting the wavefront surface.
- Parameters:
- snumpy.ndarray
Wavefront surface to be fitted.
- xnumpy.ndarray
Normalized x coordinate between -1 and 1 (pupil coordinate).
- ynumpy.ndarray
Normalized y coordinate between -1 and 1 (pupil coordinate).
- numTermsint
Number of annular Zernike terms used in the fit.
- efloat
Obscuration ratio of annular Zernikes.
- nMaxint, deprecated
Maximum number of Zernike terms. Unused.
- Returns:
- numpy.ndarray
Coefficients of annular Zernike polynomials by the fitting.