Skip to main content

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 (this option is not available yet):

    $ 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.

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

py_thorlabs_tsp-0.0.6.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

py_thorlabs_tsp-0.0.6-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file py_thorlabs_tsp-0.0.6.tar.gz.

File metadata

  • Download URL: py_thorlabs_tsp-0.0.6.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for py_thorlabs_tsp-0.0.6.tar.gz
Algorithm Hash digest
SHA256 546df7cc1ea3ec44c89597bc9a8d8dc3d7eab706ec2ec6458383e21dceb60adc
MD5 a8c22b141dc11d2344c1c70df1ac2f8f
BLAKE2b-256 704dc3a49a19cb78f037f2d696b2c45c60fcc5e8ba0a7f6db3af8ec8d846df2a

See more details on using hashes here.

File details

Details for the file py_thorlabs_tsp-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: py_thorlabs_tsp-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for py_thorlabs_tsp-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ec13037dc2511417d3da0bd1ba690f321ddbfbe5d6cd4058a1c0107bc45e850c
MD5 89ffea40535968854f495a9c30b6c5a2
BLAKE2b-256 615c15f75b051f8a81b676f3c0dbc79e4b631d5eddc627531857e4312e65dae6

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