LightPipes is a set of software tools for simulation of propagation, diffraction and interference of coherent light. Algorithms are based on the scalar theory of diffraction. The toolbox includes spectral, FFT-based and finite-difference based propagation models. Special tools have been developedd for the propagation through lenses with coordinate transforms, simulation of any combination of Zernike aberrations, mode analysis in laser resonators, interferometers, inverse problems, waveguides and propagation in media with non-uniform distribution of refraction index.
LightPipes for *NIX
In April 1999 OKO released the source code of LightPipes under GNU GPL.
This source was written for Unix, it compiles by any C compiler. The simplest way to create the package in its original form is to put it into a separate folder on a Unix/Linux computer (Cygwin under Windows works as well) and type "make". Then go to the examples directory and run scripts. Then read the manual. Reading the manual first helps.