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.2.tar.gz (80.7 kB view hashes)

Uploaded Source

Built Distribution

pstl_tools-0.1.2-py3-none-any.whl (113.2 kB view hashes)

Uploaded Python 3

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