Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Controls for Thorlabs TSP01 temperature and humidity sensor

Project description

py_thorlabs_tsp

Low and high level python wrappers for Thorlabs TSP01B temperature and humidity sensor.

This is an unofficial package and is not supported by the vendor of equipment.

This package provides:

  1. low-level functions, which are thin wrappers around the C-functions from the DLL distributed by Thorlabs;
  2. high-level class for connecting to the sensor and getting temperature and humidity readout.

This package was tested on Windows only. Only TSP01 Rev.B sensor was tested.

Installation

Prerequisites

Download and install the software from thorlabs.com, choose Software tab. This program provides the drivers (DLLs discoverable by the py_thorlabs_tsp), and also the TSP01 Application, which has a GUI and allows connecting and reading out the sensor.

The package itself can be installed either from pypi or from the repository. See both options below.

From pypi

  1. Install the package from pypi:

    $ pip install py_thorlabs_tsp

From repository

  1. Clone the package from the repository

    $ git clone https://gitlab.com/dimapu/py_thorlabs_tsp.git py_thorlabs_tsp_repo

  2. Install py_thorlabs_tsp either in normal mode:

    $ pip install py_thorlabs_tsp_repo

    OR in development mode:

    $ pip install -e py_thorlabs_tsp_repo

Authors

The following authors have contributed to this package:

  • Dzmitry Pustakhod (original Windows version).

License

Copyright (c) 2019 Dzmitry Pustakhod, TU/e-PITC.

The code is released under MIT license. See LICENSE.

The descriptions of the functions and their parameters are taken from the Thorlabs Manual and are a copyright of Thorlabs. See LICENSE_THORLABS.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-thorlabs-tsp, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size py_thorlabs_tsp-0.0.7-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size py_thorlabs_tsp-0.0.7.tar.gz (12.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page