I present how to control directly the pixels of the SLM using Psychtoolbox, a free toolbox for Matlab and Octave that uses GPU acceleration. The first step is to download and. This is a package that allows one to control a Spatial Light Modulator (SLM) with a simple an intuitive syntax. 10 and all major platforms (Windows, MacOS and Linux). This package is registered on PyPi, so, o. slmsuite combines GPU-accelerated beamforming algorithms with optimized hardware control, automated calibration, and user-friendly scripting to enable high-performance programmable optics with modern spatial light modulators. Some SLMs are now sold with a dedicated card or can be controlled via USB. If you possess such a device, this tutorial is not for you. A simple example is an overhead projector transparency.
[PDF Version]