Skip to main content

Python scripts for making working with UMICH NERS PSTL Lab Equipment much easier

Project description

pstl-tools

Python scripts for making working with UMICH NERS PSTL Lab Equipment much easier

Tested Python Versions

  • v3.10

Requried Packages

  • pyvisa
  • pyserial
  • numpy

Subpackages

Install

Via Python virtutal enviroment (venv)

  1. Ensure python is installed
  2. Run in command line
python -m venv <path/to/directory/to/store/venvs/your-venv>

Replace python with the python version you want to use i.e. python3.10

  1. Now activate your python venv

For Linux or Mac

<path/to/directory/to/store/venvs>/bin/python

For Windows

<path/to/directory/to/store/venvs>/Scripts/activate.bat
  1. Run pip install
python -m pip install pstl-tools

--or--

pip install pstl-tools
  1. Must have one of the following
  • VISA Library from LABVIEW or alternative

  • Install pyvisa-py and other dependences (open-source version of the previous)

For more help vith python venv

GUI Langmuir Example

Have a .CSV file comma delimlated with oneline of headers.

Run the following once python package is installed via pip install

gui_langmuir <-additional flags>

optional flags are

  • -f, --fname "path/to/filename ie dir/out.csv" default is lang_data.csv
  • -s,--sname "path/to/saveimages.png" default is test_gui.png

i.e.

gui_langmuir -f my_csv.csv -s my_pic.png

this runs a single Langmuir probe anaylsis and saves graphs when save button is hit

future updates will have buttons to change the analysis methods

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

pstl-tools-0.1.1.tar.gz (80.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pstl_tools-0.1.1-py3-none-any.whl (113.2 kB view details)

Uploaded Python 3

File details

Details for the file pstl-tools-0.1.1.tar.gz.

File metadata

  • Download URL: pstl-tools-0.1.1.tar.gz
  • Upload date:
  • Size: 80.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pstl-tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8209075e98ec863de19a13a36059610bbb37c6d0dfb1229cace974216d27102d
MD5 c5ec10e23240e164b7d2857276e95640
BLAKE2b-256 0cfe89a337fe42f59f549e82f80a593aeb350548d88dcb898087655ae6629e99

See more details on using hashes here.

File details

Details for the file pstl_tools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pstl_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 113.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pstl_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d1989197583391991b4ad3d2dadd9c0c7d0824c7aa5d2605c62a240982e4a8f
MD5 44392ff1de9d26d075cdd743d48b44f4
BLAKE2b-256 a87014a33c4618dc456edb009db8e635bbb507db7f180a3a17dbbe64efe64f57

See more details on using hashes here.

Supported by

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