Optical Elements

Base Optical Element

OpticalElement(dim, pitch, wvl[, ...])

Lenses

RefractiveLens(dim, pitch, focal_length, ...)

CosineSquaredLens(dim, pitch, focal_length, ...)

Diffractive Optical Elements

DOE(dim, pitch, material, wvl, device[, ...])

Spatial Light Modulators

SLM(dim, pitch, wvl, device[, polar])

PolarizedSLM(dim, pitch, wvl, device)

Apertures

Aperture(dim, pitch, aperture_diameter, ...)

Aperture optical element for amplitude modulation.

Utility Functions

height2phase(height, wvl, RI[, wrap])

Convert material height to corresponding phase shift.

phase2height(phase_u, wvl, RI[, minh])

Convert phase change to material height.

quantize(x, levels[, vmin, vmax, include_vmax])

Quantize floating point array.