PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 50 in Optics & Light.

View category →
NewSchool

Airy Disk & Rayleigh Limit

Launch Simulator

Circular aperture Fraunhofer pattern; first dark ring; two-point resolution.

NewUniversity / research

Fourier Optics 4f System

Launch Simulator

Object → lens → Fourier plane → spatial filter (low/high-pass) → lens → image; 2D FFT with circular aperture in spectrum.

NewSchool

Chromatic Aberration

Launch Simulator

Cauchy n(λ); thin-lens f(λ); paraxial rays R/G/B.

NewUniversity / research

Fabry–Pérot Cavity / Etalon

Launch Simulator

Airy transmission T(L), finesse F, free spectral range FSR = λ/(2n), linewidth ΔL ≈ FSR/F; animated cavity-length scan.

NewUniversity / research

Fiber Bragg Grating

Launch Simulator

λ_B = 2 n_eff Λ; Lorentzian toy reflectivity vs λ and probe wavelength.

NewSchool

Whispering Gallery (Rays)

Launch Simulator

Circular mirror: shallow chords refocus acoustic energy opposite the source (geometric optics).

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Zernike Wavefront Aberrations

Zernike Wavefront Aberrations

Defocus, astigmatism, coma, spherical Zernike modes on a circular pupil; PSF via FFT, Strehl ratio and Maréchal estimate.

Zernike modes

0 λ
0 λ
0°
0 λ
0 λ
0 λ

Orthonormal Zernike modes on a circular pupil; wavefront in waves (λ). PSF = |ℱ{P·exp(i2πW)}|². Strehl = peak(PSF)/peak(PSF₀). Coefficients multiply RMS-normalized modes, so RMS grows roughly as the quadrature sum for single modes.

Measured values

Strehl ratio1.0000 (100.0%)
RMS wavefront0.0000 λ
Maréchal approx.1.0000
Peak |W|0.000 λ

Live graphs

About this model

Optical aberrations are conveniently expanded in Zernike polynomials Z_n^m(ρ,θ) on the unit pupil (ρ ≤ 1). This simulator superposes the lowest-order modes with user coefficients in waves (fractions of λ): defocus Z₂⁰, astigmatism Z₂² (with rotatable axis via Z₂² and Z₂⁻² components), coma Z₃¹ and Z₃⁻¹, and spherical Z₄⁰, using the standard orthonormal forms. The aberrated pupil field is E = P(ρ) exp(i2πW) with uniform amplitude inside the disk; the point-spread function PSF = |ℱ{E}|² is computed with a 128×128 FFT and compared to the diffraction-limited reference. The Strehl ratio is reported as the peak PSF ratio S = max(PSF)/max(PSF₀), and the RMS wavefront error σ (in waves) yields the Maréchal approximation S ≈ exp[−(2πσ)²] for small aberrations. Three panels show the wavefront map, aberrated PSF (optional log display), and reference Airy-like PSF, plus a radial intensity profile.

Who it's for: Undergraduate and graduate optics students studying wavefront sensing, adaptive optics, microscope alignment, and telescope aberration theory.

Key terms

  • Zernike polynomial
  • Wavefront aberration
  • Point spread function
  • Strehl ratio
  • Defocus
  • Astigmatism
  • Coma
  • Spherical aberration
  • Maréchal approximation

How it works

Zernike wavefront aberrations: defocus, astigmatism, coma, and spherical modes on a circular pupil; PSF via FFT and Strehl ratio.

Key equations

W(ρ,θ) = Σ cₙᵐ Zₙᵐ(ρ,θ) · φ = 2πW/λ
Strehl ≈ exp[−(2π σ)²] (σ = RMS in waves, Maréchal)

Frequently asked questions

What units are the slider coefficients?
Amplitudes are in waves (λ) multiplying orthonormal Zernike modes on the pupil. Because those modes are RMS-normalized, a single coefficient is approximately that mode’s RMS wavefront error, not its peak-to-valley value.
How is Strehl ratio defined here?
S is the ratio of the peak aberrated PSF intensity to the peak diffraction-limited PSF from the same circular pupil — the standard intensity Strehl definition.
Why does Strehl differ from the Maréchal estimate?
The Maréchal formula S ≈ exp[−(2πσ)²] assumes small RMS phase error and many modes; a single large Zernike coefficient or high-order mixing breaks the approximation.
What is left out?
Pupil apodization, central obscuration, polychromatic light, vector diffraction, and higher Zernike orders beyond Z₄⁰.