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.
Release files for Instrumental-lib 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Instrumental-lib-0.3.zip | 432.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Instrumental_lib-0.3-cp27-cp27m-win_amd64.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-64 | Details |
Total release size: 727.5 kB
Release files / Instrumental-lib-0.3.zip
| Download URL | Instrumental-lib-0.3.zip |
|---|---|
| Size | 432.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d5e088e21f759f551fbe1a8416cdac95195883354ba9c60e2b488b816b4aacb
|
|
BLAKE2b-256 checksum How to use checksums |
dfe73476b1282e06f7e0283f3ceecca01486950ac41395209c1c7daed60ea652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Instrumental_lib-0.3-cp27-cp27m-win_amd64.whl
| Download URL | Instrumental_lib-0.3-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 294.6 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4281e79a228207c79054d9eecffbf0d089cb327e4eb80e37209aedf4c8a69c2c
|
|
BLAKE2b-256 checksum How to use checksums |
af8120ea7aa117e66fae345ea56d5f61f564518c95903525eee76fb8228737a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |