Zernike Tools

Fringe wavefront scaling · reflected mirror surface generation

Input configuration

Both workflows · values include unit labels
CSV saves inputs and coefficients for both tabs, not calculated results.

Scale a source wavefront to a target pupil

Fringe modes Z1–Z36 · coefficients in mλ

A nonzero example matching Zernike1.m is preloaded (converted from waves to mλ). Enter wavefront coefficients in milliwaves. The beam intensity is I(r) = exp(−2(r/w)²ᴾ), with w chosen to match the supplied D4σ diameter; P = 1 is Gaussian and P > 1 is super-Gaussian. When enabled, fit weighting uses this same intensity profile. The fit is restricted to the target pupil and cannot extrapolate beyond the source pupil.

Enter coefficients, then generate and fit the target pupil.

Source and target views

Wavefront color scale in mλ · intensity relative to peak

Source wavefront [mλ] · color ±—

Source pupil X / Y [mm]

Beam intensity

Source pupil X / Y [mm]

Source wavefront with pupil and beam diameters

Source pupil (white) · target pupil (amber) · D4σ beam (red)

Source vs target-pupil X cross section [mλ]

Source vs target-pupil Y cross section [mλ]

Gray: full source wavefront. Blue: source wavefront sampled within the shaded target aperture. Dashed orange with markers: 36-mode fit to that target region.

ModeInput [mλ]Recovered [mλ]

Engineering aid only. Check coordinate conventions, coefficient units, sampling, and the exported surface independently before use.