Skip to main content

Library with high-level drivers for lab equipment

Project description

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

  • Tools for working with optics, including Gaussian beams and ABCD matrices

  • 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.2.1.zip (188.0 kB view details)

Uploaded Source

Built Distribution

Instrumental_lib-0.2.1-cp27-none-win_amd64.whl (133.2 kB view details)

Uploaded CPython 2.7 Windows x86-64

File details

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

File metadata

File hashes

Hashes for Instrumental-lib-0.2.1.zip
Algorithm Hash digest
SHA256 549f2baf45b7f108c768e03fdd50a2f966a1c404a00ff56f9c1aa5235dd64755
MD5 5a483bce1af011b4e254ea2668ebe432
BLAKE2b-256 00dbe993981a7277cd23fe45e435815fcf0ae3a0294581288e114b3cf6da04fc

See more details on using hashes here.

Provenance

File details

Details for the file Instrumental_lib-0.2.1-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for Instrumental_lib-0.2.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 ad9253119c69d22e37226c95ced2e0d29000c54f28e2e25cd3cc5b307a30b014
MD5 0873d2b9c19ad31bcfc092bccd8587ff
BLAKE2b-256 5a450d57655233d8bc0e9bade1ef148718dce72d579dd8e958aa4c17900ad078

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