The program is presented in two files,, that is used to generate a LG mask and display it on the SLM, and that allows to generate two independant LG beams on different regions of the SLM.

The function can be called in the shell using the syntax:

python [options]

The options are fully explained in the readme file of the Github repository.They allow to tune the charge of the LG beam, the beam radius, add a grating, add a correction mask (provided by the SLM manufacturer) or save the phase mask as a bitmap image.

Submit to FacebookSubmit to Google BookmarksSubmit to TwitterSubmit to LinkedIn


#2 Sébastien Popoff 2016-11-26 10:48
That is entirely up to you. Usually, you want to illuminate your modulator with a plane wave and inject light into your optical setup, but the rest depends on your system and what you want to do.
#1 Wei 2016-11-23 22:38
What is the experimental set-up for this particular code?

Additional information