/devwraps

A collection of device wrappers for Python 3 in Windows

Primary LanguagePythonOtherNOASSERTION

devwraps

A collection of device wrappers for Python 3 in Windows. This library includes support for some scientific cameras and deformable mirrors.

Supported devices

  • Boston Micromachines deformable mirrors
    • Multi-DM (bmc)
  • ALPAO deformable mirrors
    • (asdk)
  • Thorlabs scientific cameras
    • Grayscale devices (thorcam)
  • IDS scientific cameras
    • Grayscale devices (ueye)
  • Andor scientific cameras
    • Grayscale devices (sdk3)
  • Ximea scientific cameras
    • Grayscale devices (ximea)

Install

  • Download and install the drivers for the devices you want to use from the ones listed above. Make sure to install the development API in case this is optional.
  • You should then install the following software requirements:
    • Anaconda for Python 3. This includes Python as well as some necessary scientific libraries.
    • Build Tools for Visual Studio. Note that this is not Visual Studio ifself, but the command-line interface Build Tools for Visual Studio 2019. You can find that under Tools for Visual Studio.
    • 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. Do not use GitHub's Download ZIP button above.
  • Finally double-click on install.bat.

Known bugs

  • asdk and sdk3 are mostly untested
  • timeout error handling in grab_image() is incomplete
  • continuous acquisition (start_video() and stop_video()) mostly untested