wavefront

pyoof.aperture.wavefront(rho, theta, K_coeff)[source]

Computes the wavefront (aberration) distribution, \(W(x, y)\). It tells how the error is distributed along the primary reflector pr, it is related to the phase-error (phase). The wavefront aberration) distribution is described as a parametrization of the Zernike circle polynomials multiplied by a set of coefficients, \(K_{n\ell}\). For the package simplicity this function is considered dimensionless.

Parameters
rhoQuantity

Values for the radial component. \(\sqrt{x^2 + y^2} / \varrho_\mathrm{max}\) normalized by its maximum radius.

thetaQuantity

Values for the angular component (angle units), \(\vartheta = \mathrm{arctan}(y / x)\).

K_coeffndarray

Constants coefficients, \(K_{n\ell}\), for each of them there is only one Zernike circle polynomial, \(U^\ell_n(\varrho, \varphi)\).

Returns
Wndarray

Wavefront (aberration) distribution, \(W(x, y)\). Zernike circle polynomials already evaluated and multiplied by their coefficients.

Notes

The wavefront (aberration) distribution it strictly related to the Zernike circle polynomials through the expression,

\[W(\varrho, \vartheta) = \sum_{n, \ell}K_{n\ell}U^\ell_n(\varrho, \vartheta).\]