Created by sebastien.popoff on 23/06/2020

Tools

DMD diffraction tool

I presented in this tutorial the diffraction effects occurring in a DMD setup. It corresponds to a blazed grating effect and depends on the wavelength \(\lambda\), the pixel pitch \(d\), the incident angle \(\alpha\), and the angle of the micro-mirrors \(\theta\). Here is a simple app (see source code on Github) to calculate the criterion for optimal diffraction efficiency and the aspect of the diffraction pattern in the far-field when illuminating the DMD with a plane wave of incident angle \(\alpha\) with respect to the normal of the surface.

See full post
Created by sebastien.popoff on 21/10/2019

Tutorials Spatial Light Modulators

How to generate macropixel patterns for SLMs/DMDs with the Layout module

In many wavefront shaping experiments, such as for optimization experiments, like the seminal work by I. Vellkoop and A. Mosk, or for measuring the transmission matrix, one needs to control the amplitude and/or the phase of the field on a given number of macropixels (i.e. groups of pixels). Using DMDs, amplitude, and phase modulation can be achieved using the Lee hologram method and then sending the binary images to the device using the for ALP4lib in Python for Vialux DMDs. I released here a module written by M. W. Matthès and myself to easily and efficiently generate such patterns. The code can be found on my Github account here as well as an amplitude and phase modulation example: layout_amplitude_phase_modulation.ipynb.

See full post
Created by sebastien.popoff on 07/08/2019

Tutorials Spatial Light Modulators

Setting up a DMD/SLM: Aberration effects

Digital Micromirror Devices (DMDs) are amplitude only (binary) modulators, however, pretty much like liquid crystal modulators, they introduce some phase distortion. Practically, it means that if one illuminates the modulator with a plane wave, even when all the pixels are set to the same value, the wavefront shows phase distortions after reflection. That can be detrimental, especially when working in a plane conjugated with the Fourier plane of the DMD surface. Fortunately, using the Lee hologram method or the superpixel method, one can achieve phase modulation. I present here how to use Lee holograms to characterize and compensate for aberrations when using a DMD. This approach can also be applied for compensating for aberration effects in other types of Spatial Light Modulators, such as liquid crystal ones.

See full post
Created by sebastien.popoff on 26/05/2019

Tutorials Multimode fibers

Compare Different Methods of Modes Estimation of Bent Multimode Fibers with pyMMF

In a previous tutorial, I explained how to calculate the modes of a bent multimode fibers. I introduced two methods, following the approach published in [M. Plöschner, T. Tyc, and T. Čižmár, Nat. Photon. (2015)]. In this short tutorial, I show how to use pyMMF to simulate bent fibers and compare the two different methods. A Jupyter notebook can be found on my Github account: compare_bending_methods.ipynb.

See full post