Created by sebastien.popoff on 09/10/2016

Tutorials Spatial Light Modulators

Easy generation of Laguerre Gauss beam with Python and an SLM

I want to share a simple Python written by José Salazar-Serrano. This program aims to generate a Laguerre Gauss beam with a phase-only spatial light modulator (SLM). It uses the slmPy and requires the wxPython and opencv modules to run. The full description of the package and the files are available on the Github repository.

See full post
Created by sebastien.popoff on 09/12/2015

Tutorials Spatial Light Modulators

How to control a liquid crystal SLM with Python

Most liquid crystal Spatial Light Modulators (SLMs) and some digital micromirror devices (DMDs) are controlled via an analog (VGA) or digital (HDMI/DVI) monitor standard communication protocol. In other words, you plug it to your computer and it is recognized as a monitor display. There is usually no useful tool or API provided with the device to dynamically control the SLM. I previously introduced a way to control an SLM using Matlab/Octave, now that I switched to Python, I present here a way to do this using Python.

DOI

See full post
Created by sebastien.popoff on 10/10/2013

Tutorials Digital holography

Off-axis holography

Off-axis holography is a popular technique to reconstruct a hologram. It allows retrieving the amplitude and the phase of a field pattern by measuring only one image with a digital camera. It relies on an intereferometric setup with a non-zero angle between the reference beam and the signal beam and requires to numerically filter the spatial frequencies. I provida Matlab and Python example codes.

See full post