Library with high-level drivers for lab equipment
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) >>> daq <instrumental.drivers.daq.ni.NIDAQ at 0xb61...>
If you’re going to be using an instrument repeatedly, save it for later:
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|Instrumental-0.3.4.dev0-cp27-none-win_amd64.whl (133.2 kB) Copy SHA256 Checksum SHA256||cp27||Wheel||Jan 14, 2016|
|Instrumental-0.3.4.dev0.zip (192.9 kB) Copy SHA256 Checksum SHA256||–||Source||Jan 14, 2016|