Mathematical description#

This section describes the mathematics of the Zernike polynomials and the methods used by pyzernike to compute them, to extend them to an elliptic annulus, to manipulate their coefficients and to fit them to data:

Notations#

Notation

Meaning

\((\rho, \theta)\)

Polar coordinates on the unit disk, \(0 \leq \rho \leq 1\).

\(n, m\)

Radial order \(n \geq 0\) and azimuthal frequency \(m\), with \(|m| \leq n\) and \(n - m\) even.

\(R_{n}^{m}(\rho)\)

Radial polynomial (\(m \geq 0\)).

\(Z_{n}^{m}(\rho, \theta)\), \(Z_j\)

Zernike polynomial, of index \(j\) in a given ordering (OSA/ANSI by default).

\(N_{n}^{m}\), \(N_j\)

Normalization factor of Noll.

\(N\), \(P\)

Maximum radial order and number \(P = \frac{(N+1)(N+2)}{2}\) of polynomials with \(n \leq N\).

\((R_x, R_y, x_0, y_0, \alpha, h)\)

Parameters of the elliptic annulus.

\((\rho_{eq}, \theta_{eq})\)

Equivalent polar coordinates of a point \((x, y)\) of the elliptic annulus.

\(Zxy_{n}^{m}(x, y)\)

Zernike polynomial on the elliptic annulus.

\(c_j\)

Coefficients of a sum of Zernike polynomials \(f = \sum_j c_j Z_j\).