Skip to main content

Spatial light modulator in Python

Project description

slmtools

DOI

Python code to use a spatial light modulator (SLM).

Main Features

  • support for the vortex and top-hat phase masks in stimulated emission depletion (STED) microscopy
  • aberration control via Zernike polynomials
  • support for multiple pupils over the same SLM window

Installation

The easiest way to install slmtools is to first install Anaconda for Python 3. After that, open an Anaconda Prompt, type pip install --user slmtools and hit enter to install slmtools.

To start up the GUI, open Anaconda Prompt, type python -m slmtools.gui and hit enter.

Installation from the GitHub repository

To install slmtools in Windows, follow the steps below.

  • You should first install the following software requirements:
    • Anaconda for Python 3. This includes Python as well as some necessary scientific libraries.
    • Git. This is necessary for the automatic version numbering of this package. Also, make sure you choose Git from the command line and also 3rd-party software in Adjusting your PATH environment.
  • Clone this repository using Git. From any folder in File Explorer, right-click and hit Git Bash here. Paste git clone https://github.com/jacopoantonello/slmtools and hit enter. Do not use GitHub's Download ZIP button above, as the installation script will not work in that case.
  • Finally, double-click on install.bat.

To run the GUI, double-click on run.bat.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slmtools-0.3.43.tar.gz (21.6 kB view hashes)

Uploaded Source

Built Distribution

slmtools-0.3.43-py3-none-any.whl (33.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page