drivers subpackage is the primary focus of Instrumental, and its purpose is to provide relatively high-level ‘drivers’ for interfacing with lab equipment. Currently it supports:
- Function Generators
- Lock-in Amplifiers
- Motion Control
- Power Meters
It should be pretty easy to write drivers for other VISA-compatible devices by using
Facets. Check out Writing Drivers for more info. Driver submissions are greatly appreciated!
There are several other subpackages within Instrumental. These may eventually be moved to their own separate packages.
plotting module provides or aims to provide
- Unit-aware plotting functions as a drop-in replacement for pyplot
- Easy slider-plots
fitting module is a good place for curating ‘standard’ fitting tools
for common cases like
- Triple-lorentzian cavity scans
- Ringdown traces (exponential decay)
It should also provide optional unit-awareness.
tools module is used for full-fledged scripts and programs that may
make use of all of the other modules above. A good example would be a script
that pulls a trace from the scope, auto-fits a ringdown curve, and saves both
the raw data and fit parameters to files in a well-organized directory