We analyze the effectiveness of phase correction of distortions introduced in the wave by fluctuations of the refractive index of the atmosphere in the formation of images of astronomic objects. Two methods of modelling the phase distortions are described, based on generation either an ensemble of spectral amplitudes or random coefficients of aberrations. These methods are simultaneousy used in the calculations.