Zernike polynomials#

lentil.zernike(mask, index[, normalize, ...])

Compute the circular Zernike polynomial for a given mask.

lentil.zernike_compose(mask, coeffs[, ...])

Create an OPD based on the supplied Zernike coefficients.

lentil.zernike_fit(opd, mask, modes[, ...])

Fit a Zernike basis set to an OPD.

lentil.zernike_remove(opd, mask, modes[, ...])

Fit and remove a Zernike basis set from an OPD.

lentil.zernike_basis(mask, modes[, ...])

Compute a Zernike basis set for a given mask.

lentil.zernike_coordinates(mask[, shift, rotate])

Compute the Zernike coordinate system for a given mask.