finesse.cymath.zernike module

Math functions for computing Zernike polynomial information.

TODO: write tests and document these functions properly

finesse.cymath.zernike.Gen_nm(n)[source]

Generate n and m vectors containing n and m indices up to n, excluding zeroth mode.

finesse.cymath.zernike.Rnm_eval(_r, _phi, n, m, a0)[source]

Function to evaluate radial components.

finesse.cymath.zernike.Rnm_p(n, m)[source]

Generate radial polynomial for radial Zernikee.

finesse.cymath.zernike.ZPhi_eval(_phi, m)[source]

Fuction to generate azimuthal component.

finesse.cymath.zernike.Znm_eval(_r, _phi, n, m, a0)[source]