Python interface for Keysight PNA
Project description
PyPNA
This library provides basic support for interfacing between Keysight PNA and Python. This means you can take control of the PNA with python programs, query data, update settings etc to streamline data acquisition. The library contains the minimal built in capability as it stands, but enough to setup and acquire s-parameters as it stands currently. To build upon this simple capability the pna.write() function can be used to realise more complicated functionallity, refering to the keysight support website below for a list of commands.
Included in this repository are two example files. The first is a bare-bones example of how to retrieve data from the PNA, originally constructed as a performance test to see how quickly data could be acquired. The second is a data acquisition setup with accompanying GUI for everyday use. The GUI features integrated time domain calculation and ability to automatically normalise. These should be enough to get started with the library!
This library is a work in progress, please let us know if you find issues.
Install: pip install PyPNA
Commands from: http://na.support.keysight.com/pna/help/latest/Programming/XComFinderSet.htm
Guide: https://towardsdatascience.com/deep-dive-create-and-publish-your-first-python-library-f7f618719e14
Citation
If you use PyPNA for your research an acknowledgement, mention, or citation would be greatly appreciated where appropriate.
Contact
If you have any feedback please contact either harrison.lees@adelaide.edu.au or bryce.chung@adelaide.edu.au.
PyPNA was developed by Bryce Chung and Harrison Lees as part of PhD research conducted at the Terahertz Engineering Laboratory, The University of Adelaide. For more details visit https://www.thz-el.org/.
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
File details
Details for the file PyPNA-0.1.5.tar.gz
.
File metadata
- Download URL: PyPNA-0.1.5.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342d172627110f5590095df8b79f65e6d13d199243ec27ffb5718d7330e9afb0 |
|
MD5 | 03660508818d7afa511a3d9ace62029a |
|
BLAKE2b-256 | 9e61969e6353c1e9dae6510bfb92bbeb8ec7bc2fff35f7db6515e911b0ff176e |