Skip to main content

Light Trace Photonics

See our website for more details (coming soon!)

A Python Library for interfacing with Light Trace Photonics hardware. This module lets you control LTP's automated chip testing rig. It provides a main LightRig class which reads in device & measurement information, performs scans, and save data for the user. It also provides two additional classes, one for taking measurements with Thorlabs photodiodes and one for controlling an Osics Mainframe laser. Note, these can be modififed to different laser and phototdiode interfacing if required.

Get in touch with us at contact@ltphotonics.co.uk.

Table of contents

  • Installation
  • Usage
  • Credits
  • License

Installation

Requirements:

  • A Python 3.6 or greater interpreter.

Dependencies

  • libusb is required for the backend of pyusb.
  • pyvisa-py is required to connect to Thorlabs photodiodes.
  • pyusb is required to connect to Thorlabs photodiodes.
  • pyserial is required to connect to an Oscis Mainframe laser.
  • qontrol to interfacing with the required Qontrol M2 driver boards (See Qontrol's website for more details).
  • numpy is required to perform calculations.

Note, the order in which libusb, pyvisa-py and pyusb are install is important for correct configuration. If you are struggling to connect to the Thorlabs powermeter then type pyvisa-info into terminal and check the USB backend is working correctly.

PyPi Installation

The most stable Qontrol Python API is available through the Python Package Index PyPI. Using a bash terminal or similar, this can be installed as follows:

pip install ltphotonics

Local Development - Github Installation

The latest development version is available through Github as instructed below.

git clone https://github.com/ltphotonics/ltphotonics.git
cd ltphotonics/

Local installation can be performed using the setup.py installation script.

python setup.py develop

Usage

Contact Light Trace Photonics for documentaiton of usage.

Credits

List of contributors and authors: Light Trace Photonics

  • Jake Biele
  • Dominic Sulway

Contributions

If you want to contribute to this library contact contact@ltphotonics.co.uk

License

Copyright (c) 2023 Light Trace Photonics Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for ltphotonics 1.0.0

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

Source distribution (sdist)

Source distribution for ltphotonics 1.0.0
File Size Uploaded
ltphotonics-1.0.0.tar.gz 13.1 kB Details

Release files / ltphotonics-1.0.0.tar.gz

Download URL ltphotonics-1.0.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8f027cd8a5b0ee5f83375c2d65e63d0fc89fd933933eab0afe84947d56c6df
BLAKE2b-256 checksum
How to use checksums
80bed3237d21fec1166b4da206aa2d7d1b81422b0a1dc3f2a0db9890ae6bdbf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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