Uniformlight meaning

These pretty circles of light are plastic diffused backlights, probably originally used in LCD gauge displays. Normally they're tucked behind the LCD and shine white light from below. Here, we've got the LEDs available individually, and they're really cool! Each LED is encased in a 2.2mm thick semi-circle of acrylic.

CCS inc

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

The acrylic is a special type that is very good at diffusing light, so even though there are only two white LEDs, it provides near-uniform lighting. The other flat side of the diffuse has a reflector on it so you only get light from the top (otherwise the backlight would lose 1/2 the brightness unnecessarily)

If the LightPipes library is successful installed on your computer Python can proceed with the next step. You probably want to plot the results, so import matplotlib:

Fred rewrote the commands for using them in Mathcad and Matlab in 1996. Later he made a version for Python (2017). The Mathcad and Matlab versions (not free) can be obtained from Flexible Optical. The Python version can be obtained for free from https://github.com/opticspy/lightpipes. Fred also developed the LightPipes for Python website using Sphinx. Fred used LightPipes for his course "Introduction to Optics" at the University of Twente as an introduction to the optics lab. See how Fred is blowing out a HeNe laser during this lesson. (The laser stops because the outcoupling mirror was covered with vapor from Fred's breath)

The pure Python version of LightPipes (from version 2.0.0) can be installed on any platform with Python version 3.+ installed. We tested it on a number of computers: Windows, Macintosh and Linux.

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. There are also more advanced tools for manipulating the phase and amplitude of the light. The program operates on a large data structure, containing square two-dimensional arrays of complex amplitudes of the optical field of the propagating light beam.

LightPipes is a set of functions written in Python (Before version 2.0.0 these functions are in C++). It is designed to model coherent optical devices when the diffraction is essential. We put the C++ based version of LightPipes in another repository: opticspy/clightpipes. The pure Python version is as fast as the C++ version due to the use of the numpy, scipy and pyFFTW packages.

LightPipes was written by Gleb Vdovin in 1993 for MS DOS. the output of a command was the input for the next command. Gleb used the "pipe" feature of MS DOS, that's why it is called LightPipes. The source code of LightPipes for UNIX can be obtained for free from http://www.okotech.com.

Advanced illumination

Guyskk' s contribution to the development of the LightPipes C++ package was very important. His knowledge of Python helped a lot to get the package operative for the windows, macintosh and several linux platforms.

You can treat this 50mm diameter backlight just like an LED, light with ~3V at 30mA current, and you get a pretty shape that you can mask with vinyl or draw over with a marker. Gels can be used to change the colour. We think these would make great wearables without the need for EL or inverters. They're much brighter than EL and use less battery. The trade-off is these are not flexible at all.

Now we are ready to start the simulation. The Begin command generates a field with amplitude 1.0 and phase zero, a plane wave. So, all the 500 x 500 elements of array, F, contain the complex number: 1.0 + j0.0. The next commands generate two waves, F1 and F2, which are apertured by the two circular apertures and combined (simply added) by the BeamMix command. The combined wavefront is propagated a distance z=30 cm by the Fresnel command. After that the intensity is caculated and normalized to 255 (2 -> 255, 1 -> 1.0, 0 -> not normalized) by the Intensity command.

The result is plotted using the fantastic matplot routines. We are not interested in axis around the pattern and we like to write a title above the plot.

The LightPipes routines are modifications of the LightPipes C routines written by Gleb Vdovin for Unix, Linux, DOS and OS2 workstations.

We encountered problems when installing it on a Raspberry Pi 4.0. It seems that pyFFTW package is not compatible with the Raspberry (ARM processor). Maybe they will solve that in the future. In the mean time you can follow the instructions in the install section of our documentation to install pyFFTW on a Raspberry PI, or install the latest C++ version, 1.2.0, of LightPipes when Python 3.7 is installed on your Raspberry Pi. Type at a terminal prompt:

Image

Visit the website of Flexible Optical: http://www.okotech.com, where you can find the source code of LightPipes and a manual.

A plane wave is diffracted by two small holes, separated a distance, d. So two more or less spherical waves will propagate from these holes.

Leonard translated the C++ code of LightPipes into pure Python, using the numpy, scipy and pyFFTW packages. Thanks to the matrix routines of numpy and the fast pyFFTW Fourier transform the speed of the pure python version is as fast as the C++ version. Also parallel processing is possible now, which enhances the speed even more. From LightPipes version 2.0.0 LightpIpes is pure python. As usual, it can be installed with pip: