Created by admin on 08/04/2025

Tutorials Digital holography

ZoomFFT for speeding up off-axis computation (and more)

Github DOI

When performing the computation for some tasks such as off-axis holography, we often have to compute the entire FFT of a signal or an image while being only interested in a very small part of the spectrum. The rest of the information is just discarded. While the FFT algorithm and its implementation in standard computing libraries are very efficient, we can still take advantage of a slower approach which only computes what we need. The ZoomFFT algorithm does just that! And it's already available in standard packages such as SciPy for Python or in MATLAB. Using off-axis holography as an example, I will show how to save time – or not – using ZoomFFT.

See full post
Created by sebastien.popoff on 16/12/2022

Tutorials Highlights

Compensating for phase drifts in holographic measurements

Red dot

Digital holography allows measuring the complex amplitude of a given wavefront. We presented in detail the off-axis holography approach. However, it requires a separate reference arm. Due to air flow, vibrations, or other perturbations, the optical path length difference between the two arms can fluctuate in time, even in controlled lab experiments on a good optical table. This means that the phase of the measured wavefront is estimated up to a global phase that can randomly change over time. This is very detrimental for transmission matrix measurements as the relative phase between each column has to be precisely estimated. This is particularly true when the measurement time can take few minutes or more when using a liquid crystal spatial light modulator that has a limited frame rate. In [R. Mouthaan et al., Appl. Opt. (2022)], the authors propose a simple yet robust way to compensate for phase fluctuations, even when the phase changes completely between two frames.

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