Crate zernike[][src]

Zernike polynomials

Computes the Zernike polynomials according to Noll ordering:

j123456789101112131415161718192021...
n011222333344444555555...
m011022113302244113355...

where n, m, and j are the radial order, the azimuthal order and the polynomial index, respectively

Functions

jnm

Returns the Zernike indices (j,n,m) for the first n_radial_orders

mgs_mode_set

A complete set of n_radial_order orthonormalized Zernike modes on a regular grid n_xy X n_xy using the modified Gram-Schmidt algorithm

mode

Zernike mode on a regular grid n_xy X n_xy

mode_set

A complete set of n_radial_order Zernike modes on a regular grid n_xy X n_xy

projection

Returns the coefficients resulting of the projection of a surface on a complete set of n_radial_order orthonormalized Zernike modes defined on a regular grid n_xy X n_xy using the modified Gram-Schmidt algorithm

zernike

Returns the Zernike polynomial (j,n,m) value at the polar coordinates (o,r)