LightPipes

LightPipes for Mathcad and Matlab

LightPipes for Mathcad and LightPipes for Matlab is a set of functions written in C available to Mathcad or Matlab. It is designed to model coherent optical devices when the diffraction is essential. The toolbox consists of a number of functions. Each function represents an optical element or a step in the light propagation. There are apertures, intensity filters, beam-splitters, lenses and models of free space diffraction in LightPipes. There are also more advanced tools for manipulating the phase and amplitude of the light.

Laser examples

LightPipes for Mathcad / Matlab: Home Contents Stable resonator with gain Empty, rectangular unstable resonator Stable resonator with gain Matlab: pdf (10mm aperture) pdf(4 mm aperture) m-file Mathcad: pdf mcd-file Empty, rectangular unstable resonator Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents

Phase recovery

LightPipes for Mathcad / Matlab: Home Contents Phase recovery Phase recovery Matlab: pdf m-file Mathcad: pdf mcd Images: near-field far-field (files needed for Mathcad document) LightPipes for Mathcad / Matlab: Home Contents

Diffraction examples

LightPipes for Mathcad / Matlab: Home Contents: Spot of Poisson Round hole Long narrow slit Spot of Poisson Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents Round hole Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents Long narrow slit Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents

Download LightPipes for Mathcad and Matlab

Download a demonstration version of LightPipes for Mathcad or _LightPipes for Matlab. _The demonstration version is identical to the full version but has a restriction of the number of grid points. It is limited to 64 x 64 grids. If you run the examples with the demonstration version you have to reduce the number of grid points to 64 (replace: N=250 by N=64). LightPipes for Mathcad Mathcad 14 Mathcad 15

Interference examples

LightPipes for Mathcad / Matlab: Home Contents: Newton rings Wedged thin film Young’s interferometer Newton rings Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents Wedged thin film Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents Young’s interferometer Matlab: pdf m-file Mathcad: pdf mcd-file LightPipes for Mathcad / Matlab: Home Contents

Turbulence simulation module for MATLAB

A new module for generating of Kolmogorov phase screen with different strength is just released. The module integrates smoothly into LightPipes for MATLAB framework and can be used to simulate light propagation under turbulent atmospheric conditions. Some sample images obtained for different values of Fried’s coherence length are shown below (simulation area size 15 cm, Gaussian beam width 8 cm, wavelength is 633 nm, propagation length 2 km, left image without turbulence, others with r0=6 cm, 3 cm, 2cm, 1.