Skip to content

A collection of device wrappers for Python 3 in Windows

License

Notifications You must be signed in to change notification settings

bewersdorflab/devwraps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. During the installation use the default configuration but make sure that the Windows 10 SDK and the C++ x64/x86 build tools options are enabled.
    • 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

About

A collection of device wrappers for Python 3 in Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.2%
  • C++ 3.9%
  • Other 0.9%