Skip to main content

Library with high-level drivers for lab equipment

Project description

alt:

Travis CI

AppVeyor CI PyPI Documentation

Instrumental Instrumental

Instrumental is a Python-based library for controlling lab hardware like cameras, DAQs, oscilloscopes, spectrometers, and more. It has high-level drivers for instruments from NI, Tektronix, Thorlabs, PCO, Photometrics, Burleigh, and others.

Instrumental’s goal is to make common tasks simple to perform, while still providing the flexibility to perform complex tasks with relative ease. It also makes it easy to mess around with instruments in the shell. For example, to list the available instruments and open one of them:

>>> from instrumental import instrument, list_instruments
>>> insts = list_instruments()
>>> insts
[<TEKTRONIX 'DPO4034'>, <TEKTRONIX 'MSO4034'>, <NIDAQ 'Dev1'>]
>>> daq = instrument(insts[2])
>>> daq
<instrumental.drivers.daq.ni.NIDAQ at 0xb61...>

If you’re going to be using an instrument repeatedly, save it for later:

>>> daq.save_instrument('myDAQ')

Then you can simply open it by name:

>>> daq = instrument('myDAQ')

Instrumental also bundles in some additional support code, including:

  • Plotting and curve fitting utilities

  • Utilities for acquiring and organizing data

Instrumental makes use of NumPy, SciPy, Matplotlib, and Pint, a Python units library. It optionally uses PyVISA/VISA and other drivers for interfacing with lab equipment.

For install information, documentation, examples, and more, see our page on ReadTheDocs.

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

Instrumental-lib-0.4.zip (290.6 kB view details)

Uploaded Source

Built Distribution

Instrumental_lib-0.4-py2.py3-none-any.whl (224.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Instrumental-lib-0.4.zip.

File metadata

  • Download URL: Instrumental-lib-0.4.zip
  • Upload date:
  • Size: 290.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Instrumental-lib-0.4.zip
Algorithm Hash digest
SHA256 f1573032e13adb5656a267a62f28f314c7308cf7aafd27b40dc3b9246e2a924e
MD5 8f91d6035d7022a409ac59a56a837898
BLAKE2b-256 2a8d549a8217c293166be62a94d50901afe1aba632e3dc47fcafbee0cd400b49

See more details on using hashes here.

Provenance

File details

Details for the file Instrumental_lib-0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Instrumental_lib-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 29c97e641d7a160af59ede1c5055d92923fb39e8a2416a525d489ddb24a5ab9d
MD5 569cf887eee45578f1621ff2296a5c08
BLAKE2b-256 3b699171e6d3998a857269cb371e2202a1c630a75c4ae80ff3f04aafd778dd47

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page