.. Index:: Shack Hartmann sensor Phase recovery Zernike aberration Shack Hartmann sensor. ---------------------- A Shack Hartmann sensor is an instrument to measure the phase distribution of wavefront. .. plot:: ./Examples/Zernike/Shack_HartmannDemo.py With Zernike-defocus aberration: .. plot:: ./Examples/Zernike/Shack_HartmannDemoPlot2.py With Zernike-vertical coma aberration: .. plot:: ./Examples/Zernike/Shack_HartmannDemoPlot3.py