Skip to main content

Overview

This package can be used to drive the Thorlabs MDT693A piezo controller.

This package has been tested on Windows and Linux.

Example

from PyThorlabsMDT import PyThorlabsMDT
pzt = PyThorlabsMDT.PZT_driver(port='COM2')
pzt.x = 45 # set the x-axis to 45 V
pzt.set_x(45) #equivalent to the command above
print pzt.x # Display the value of the x-axis
pzt.get_info() #Display the informations about the device

Installation

You need first to check if the serial backends for Python (package pySerial)

===> http://pyserial.sourceforge.net/

To install PyThorlabsMDT, download the package and run the command:

python setup.py install

Metadata

Release files for PyThorlabsMDT 1.0.1

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

Source distribution (sdist)

Source distribution for PyThorlabsMDT 1.0.1
File Size Uploaded Provenance
PyThorlabsMDT-1.0.1.tar.gz 2.7 kB Without provenance Details

Release files / PyThorlabsMDT-1.0.1.tar.gz

Download URL PyThorlabsMDT-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
82b387c5ed435aeafe4d78f61cd9c8a871e676d0066bab35076037100c44d1d3
BLAKE2b-256 checksum
How to use checksums
d528fad89b78e3bf7216d20db1dfb6ed87229cc6d1d38f75cfb9cb185aa4cad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.12.4 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.13

Security for PyThorlabsMDT 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file 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