A wavefront sensor measures the phase distribution of a beam of light perpendicular to its axis of propagation. The Shack-Hartmann (S-H) wavefront sensor is based on segmentation of the incident light beam into small, spatially distributed, parts. Each of these parts is then incident on a lens, and the deviation of the focal spot from the lens optical axis is measured in two dimensions, usually by a camera or detector array. An array of lenses is used to characterize the wavefront of the entire beam.Selon la présente invention, un capteur de front d'onde mesure la distribution de phase d'un faisceau de lumière perpendiculaire à son axe de propagation. Le capteur de front d'onde de Shack-Hartmann (S-H) est basé sur la segmentation du faisceau de lumière incident en petites parties spatialement distribuées. Chacune de ces parties est ensuite incidente sur une lentille, et l'écart du point focal par rapport à l'axe optique de la lentille est mesuré dans deux dimensions, généralement par un réseau de caméras ou de détecteurs. Un réseau de lentilles est utilisé pour caractériser le front d'onde du faisceau entier.