Skip to main content

A python library/GUI.

Project description

pyThorlabsKCubeKPC101

pyThorlabsKCubeKPC101 is a Python library/GUI interface to control the K-Cube® Piezo Controller and Strain Gauge Reader KPC101 from Thorlabs. The package is composed of two parts: a low-level driver to perform basic operations, and a high-level GUI, written with PyQt5, which can be easily embedded into other GUIs. The low-level driver can be used as stand-alone library.

The interface can work either as a stand-alone application (via either the high-level GUI or the low-level driver), or as a module of ergastirio.

Note: so far the code has only been tested with the translation stage NFL5DP20S connected to the KPC101.

Table of Contents

Installation

Use the package manager pip to install,

pip install pyThorlabsKCubeKPC101

This will install pyThorlabsKCubeKPC101 together with all libraries required to run the low-level driver. In particular, the library pythonnet is required and it will be installed. If during the installation any error message appears related to pythonnet, try running again the command pip install pythonnet.

In order to use the GUI, it is necessary to install additional libraries, specified in the requirements.txt files,

pip install abstract_instrument_interface>=0.10
pip install "PyQt5>=5.15.6"
pip install "pyqtgraph>=0.12.4"
pip install numpy

Usage via the low-level driver

TO-DO

Usage as a stand-alone GUI interface

The installation sets up an entry point for the GUI. Just type

pyThorlabsKCubeKPC101

in the command prompt to start the GUI.

Embed the GUI within another GUI

The GUI controller can also be easily integrated within a larger graphical interface, as shown in the [TO DO]

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

pytriggersynced-0.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytriggersynced-0.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file pytriggersynced-0.2.tar.gz.

File metadata

  • Download URL: pytriggersynced-0.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pytriggersynced-0.2.tar.gz
Algorithm Hash digest
SHA256 9b0d47bb38f0e1e0edcaf44a7e4f28eea51b004d32a337990dbe660905eeccba
MD5 c002625c71f3970444a581e13012100c
BLAKE2b-256 20e621af8d3e021c7e53eaba4fccf225ae0f0636c4d437faee14dab048778898

See more details on using hashes here.

File details

Details for the file pytriggersynced-0.2-py3-none-any.whl.

File metadata

  • Download URL: pytriggersynced-0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for pytriggersynced-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f06f4242828a787f7babd350133e9b9e57ef5f099eb9b3b331a44d8327bf51c2
MD5 4e4c4a023bfe57c3cc83bae27d9238c9
BLAKE2b-256 ffc986771a7ec662c0ccf7f54642f0137e88d0fe8a50beaf107ecf42515e29cb

See more details on using hashes here.

Supported by

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