Generalized eikonal treatment of the Gouy phase shift.

We use a generalized refractive index that includes diffraction effects to show that the Gouy phase shift can be seen as an intensity averaged optical path difference between the generalized eikonal and the geometrical eikonal. This approach generalizes previous treatments to include the effects of phase distortion and confirms the role of transverse spatial confinement in the Gouy shift.