7.7.3. Shack Hartmann sensor.
A Shack Hartmann sensor is an instrument to measure the phase distribution of wavefront.
(Source code, png, hires.png, pdf)
With Zernike-defocus aberration:
(Source code, png, hires.png, pdf)
With Zernike-vertical coma aberration:
(Source code, png, hires.png, pdf)