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 --upgrade 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.73.tar.gz (187.5 kB view details)

Uploaded Source

Built Distribution

slmtools-0.3.73-py3-none-any.whl (185.6 kB view details)

Uploaded Python 3

File details

Details for the file slmtools-0.3.73.tar.gz.

File metadata

  • Download URL: slmtools-0.3.73.tar.gz
  • Upload date:
  • Size: 187.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for slmtools-0.3.73.tar.gz
Algorithm Hash digest
SHA256 086eb21f28e4a917f750bfba2b5ffcf536b66456fabf234211ff4c4d9352d121
MD5 442f1e068f4bf55a33986a8ec61459a2
BLAKE2b-256 c84bee2b19ce7039b4061feda097653d9fd2c29be7d70b6f81ad345a692a5f72

See more details on using hashes here.

File details

Details for the file slmtools-0.3.73-py3-none-any.whl.

File metadata

  • Download URL: slmtools-0.3.73-py3-none-any.whl
  • Upload date:
  • Size: 185.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for slmtools-0.3.73-py3-none-any.whl
Algorithm Hash digest
SHA256 452f4e19c11b3ecde3046872fdec8b0d83b340f545f7fcd2e68927d9e84f4629
MD5 477f71236edad60069faa34ba9ee92d1
BLAKE2b-256 176fb3d13f8ce44d6302d15ba835b73a727c5bca0d769e49b3a785e524c4d515

See more details on using hashes here.

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