Skip to main content

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

PyPNA-0.1.6.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

PyPNA-0.1.6-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file PyPNA-0.1.6.tar.gz.

File metadata

  • Download URL: PyPNA-0.1.6.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for PyPNA-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e64098957db38a6cb2b58a30eb9fb40c065d314771b916ac79370d54da925626
MD5 77a997422dad3cebc2e6065d9b90fd98
BLAKE2b-256 378487a65c6e38fe3e3c218a30433f671cd506bf1feaaf8a19ad3554235194fd

See more details on using hashes here.

File details

Details for the file PyPNA-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: PyPNA-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for PyPNA-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d33f5d0ac42086ee659d390fcd4a85cd51821843636f85b8565b343924d8d820
MD5 0743867be862b9eb92839f4bda005bbb
BLAKE2b-256 1437e8fcdedb9ab1dbb03bf824901207fbbd22376ab60ad7b41feaca2421921b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page