Design of adaptive optics by interference fitting: Theoretical background. (March 2022)