Measurement library for instrument communication, procedure execution, and live-plotting
Project description
PyMeasure
PyMeasure makes measurements easy to set up and run. The package is composed of two parts: (1) a repository of instruments classes that make communicating and taking data easy, and (2) a system for running experiment procedures and graphing their data live.
PyMeasure is currently under active development, so please report any issues you experience to our Issues page.
Getting started
Check out the documentation for a tutorial on getting started.
There are a number of examples in the examples
directory that can help you get up and running.
Requirements
PyMeasure is a Python 3+ library, and does not support Python 2. This is a deliberate move to switch code over to the new conventions, and remove the extra work of back-porting functionality.
PyMeasure builds on the success of two key Python packages.
There are a number of other packages that are required for specific functionality.
For communicating with VISA instruments, the PyVISA package is required. PySerial is used for basic serial communication.
The live-plotting and user-interfaces require either PyQt4 or PySide, in combination with PyQtGraph.
For listening in on the experimental procedure execution through TCP messaging, the PyZMQ and MsgPack-Numpy libraries are required. This is not necessary for general use.
Install:
Get the latest release from GitHub or install via the Python pip
installer:
pip install pymeasure