Set of PyMoDAQ plugins for Spatial Light Modulators (SLM) from Holoeye
- Sebastien J. Weber (sebastien.weber@cemes.fr)
Below is the list of instruments included in this plugin
- Holoeye: load a DataActuator (should be used from an external application creating the complex 2D DataActuator)
- HoloeyeFile: Used to load phase data into the SLM from a file
- HoloeyeSplitScreen: Used to load a binary phase mask into the SLM and control both the split ratio (percentage of vertical/horizontal screen size) and the grey level in each part of the screen.
The SDK from Holoeye is required to operate those plugins. All plugins can also receive a numpy array directly to be loaded into the SLM.
Both the SLM Display SDK (Python) 3 and 4 are supported, and can be installed at the same time. The plugins find them through environment variables:
- SDK 3:
HEDS_<version>_PYTHON_MODULES(the last one, sorted by name, is used) - SDK 4 and newer:
HEDS_<major>_<minor>_PYTHON, e.g.HEDS_4_0_PYTHON(the most recent version is used, its foldersapi/pythonandexamplesare added to the python path)
The SDK version setting of the plugins selects the one to use: auto (default) uses the SDK 4 if it is
installed (more recent), else the SDK 3. With the SDK 4, the Holoeye preview window is not opened at initialization
(it can fail when authorizations are required), use the Show Preview? setting to open it.