Category Archives: Software

Software Tutorial WP1

Layout: A Python module to generate macropixel patterns for SLMs and DMDs

In many wavefrontshaping experiments, such as for optimization experiments, like the seminal work by I. Vellkoop and A. Mosk, or for measuring the transmission matrix, one need to control the amplitude and/or the phase of the field on a given number of macorpixels (i.e. group of pixels). Using DMDs, amplitude and phase modulation can be acheived using the Lee hologram method and then sending the binary images to the device using the for ALP4lib in Python for Vialux DMDs. I release here a module written by myself and M. W. Matthes 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.

Read More, GitHub

Software Tutorial WP2

pyMMF: A Python module for simulating multimode fibers

We relase a first version of our Python module based on the tutorial we posted to simulate the transmission matrix of straight and bent multimode fibers. The code is available on my GitHub account here. We also release two tutorials:

PyMMF: A benchmark with straight fibers

Bent fibers with pyMMF

 

 

Software Tutorial WP2

Simulation of multimode fiber modes: Straight and bent fibers

We present a two part tutorial on how to numerically estimate the modes of straight or bent multimode fibers of arbitrary radial index profile. It allows calculating the mode profiles, the propagation constants and estimating the transmission matrix of a segment of a multimode fiber with a reasonable computationnal complexity.

Part 1: Straight fibers

Part 2: Bent fibers

Software WP2

pyMMF: a Python module for multimode fibers simulations [WP2]

pyMMF is a simple module that allows finding the propagating modes of multimode fibers with arbitrary index profiles and simulates the transmission matrix for a given length. The solver can also take into account the curvature of the fiber (experimental). This code is not designed to compete with commercially available software in term of accuracy of the mode profiles/propagation constants or speed, it aims at quickly simulating realistic transmission matrices of short sections of fiber.

DOI

read more »

Software WP1

ALP4lib: A open-source Python library for controlling DMDs [WP1]

Vialux provides Texas Instrument DMD (Digital MicroMirror Devices) chips with an electronic board to send and display image sequences at high speed (up to 30kHz).  We share here a simple module that wraps the C++ functions for Python developed for the MOLOTOF project. It allows to easily use the basic functions while providing the advanced features of the ALP API.

DOI

read more »