Skip to main content

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]

Metadata

Release files for pyTriggerSynced 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyTriggerSynced 0.2
File Size Uploaded Provenance
pytriggersynced-0.2.tar.gz 11.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyTriggerSynced 0.2
File Interpreter ABI Platform
pytriggersynced-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / pytriggersynced-0.2.tar.gz

Download URL pytriggersynced-0.2.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9b0d47bb38f0e1e0edcaf44a7e4f28eea51b004d32a337990dbe660905eeccba
BLAKE2b-256 checksum
How to use checksums
20e621af8d3e021c7e53eaba4fccf225ae0f0636c4d437faee14dab048778898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / pytriggersynced-0.2-py3-none-any.whl

Download URL pytriggersynced-0.2-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f06f4242828a787f7babd350133e9b9e57ef5f099eb9b3b331a44d8327bf51c2
BLAKE2b-256 checksum
How to use checksums
ffc986771a7ec662c0ccf7f54642f0137e88d0fe8a50beaf107ecf42515e29cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for pyTriggerSynced 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page