Optical path length (source code)

= Optical path length
{title2=$\int n\,ds$}
{wiki}

The optical path length along a ray is the integral of its <refractive index> over geometric length. A difference $h$ in optical path length produces a phase difference $2\pi h/\lambda$, where $\lambda$ is the vacuum <wavelength>.