slmsuite.holography.toolbox.phase#

Repository of common analytic phase patterns.

Functions

airy

(NotImplemented) Returns the cubic phase farfield for an Airy beam.

axicon

Returns an axicon lens, the phase farfield for a Bessel beam.

bahtinov

Returns a Bahtinov mask, commonly used for focusing telescopes.

binary

Returns a simple binary grating toward a given vector in \(k\)-space.

blaze

Returns a simple blazed grating, a linear phase ramp, toward a given vector in \(k\)-space.

hermite_gaussian

Returns the phase farfield for a Hermite-Gaussian beam.

ince_gaussian

(NotImplemented) Returns the phase farfield for an Ince-Gaussian beam.

laguerre_gaussian

Returns the phase farfield for a Laguerre-Gaussian beam.

lens

Returns a simple thin parabolic lens.

matheui_gaussian

(NotImplemented) Returns the phase farfield for a Matheui-Gaussian beam.

polynomial

Returns a summation of monomials.

quadrants

Returns a quadrant-based alignment mask similar to bahtinov().

sinusoid

Returns a simple holographic grating, a sinusoidal grating, toward a given vector in \(k\)-space.

zernike

Returns a single real Zernike polynomial as a subset of zernike_sum().

zernike_aperture

Helper function to find the appropriate scaling for between the normalized units in the grid and the Zernike aperture (the unit disk).

zernike_convert_index

Helper function for converting between Zernike indexing conventions.

zernike_get_string

Returns a \(\LaTeX\) string corresponding to the cartesian representation of the Zernike polynomial of the given index.

zernike_order_number

Get the number of Zernike polynomials under (inclusive) a given radial order.

zernike_pyramid_plot

Plots zernike() on a pyramid of subplots corresponding to the radial and azimuthal order.

zernike_sum

Returns a summation of Zernike polynomials in a computationally-efficient manner.