Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.

zernike

Florian Rappl edited this page Dec 21, 2014 · 2 revisions

zernike

In mathematics, the Zernike polynomials are a sequence of polynomials that are orthogonal on the unit disk. Named after Nobel Prize winner and optical physicist, and inventor of the phase contrast microscopy, Frits Zernike, they play an important role in beam optics.

zernike(n,m,z)

Computes the Zernike polynomial with order n and m at the point z.

Argument n

Scalar

Argument m

Scalar

Argument z

Scalar

Returns 1. entry

Scalar

Example

zernike(0, 0, 0.5)

The 0th order polynomial is always 1.0.

Example

zernike(1, 0, 0.25)

Computes the 1st order polynomial with parameter m = 0 at the point 0.25, which gives us -0.25.

zernike(n,m,Z)

Computes the Zernike polynomial with order n and m at the points in Z.

Argument n

Scalar

Argument m

Scalar

Argument Z

Matrix

Returns 1. entry

Matrix

Example

zernike(1, 1, 0:0.1:1)

The polynomial at order 1, 1 evaluated at the values 0, 0.1, 0.2, ..., 1.0.

Clone this wiki locally