Input configuration
Both workflows · values include unit labelsScale 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.
Source and target views
Wavefront color scale in mλ · intensity relative to peakSource 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.
| Mode | Input [mλ] | Recovered [mλ] |
|---|
Required mirror surface for a desired exit wavefront
Fringe modes Z1–Z36 · coefficients in wavesThe exit-pupil X coordinate is projected onto the mirror as Xp = Xm cos(AOI). Desired wavefront is multiplied by exp(−2(Rp/Rpupil)ᴾ); mirror sag is −λW/(2 cos(AOI)). The calculation uses the Fringe polynomial order in zernikes_fast.m.
Mirror results
Wavefront [waves] · Sag [µm]- Pupil sample points
- —
- Peak-to-valley sag
- —
- RMS sag (includes piston)
- —
Super-Gaussian illumination [relative]
Projected beam X / Y [mm]
Desired exit wavefront [waves] · color ±—
Projected beam X / Y [mm]
Required mirror sag [µm] · color ±—
Mirror X / Y [mm]
Required mirror surface [3D view]
Center illumination profile
Center exit wavefront profile [waves]
Center X and Y sag cross-sections [µm]
Engineering aid only. Check coordinate conventions, coefficient units, sampling, and the exported surface independently before use.