A method is proposed for calculation of the field function in the plane of the exit pupil of an optical system on the basis of point source images, formed by adaptive optical systems in several parallel planes, and the intensity distributions over Shack-Hartmann spots.