Basic library for low-temperature plasmas.
Project description
pyplas - Basic library for low-temperature plasmas
The library contains a few very basic classes to store information about a low-temperature plasma and allows for the calculation of common plasma parameters. It's mainly meant to support other libraries that do actually useful things with this basic framework, like owlspec.
Example
#!/bin/python3
import pyplas
from scipy import constants as const
n0 = 1e15
electrons = pyplas.electrons(n0, T=3*const.eV/const.k)
ions = pyplas.ions("Ar", n0, T=500)
neutrals = pyplas.neutrals("Ar", P=300)
plasma = pyplas.plasma(electrons, ions, neutrals, B=0.1)
print("Electron temperature (K): " + str(plasma.Te))
plasma.ion_neutral_cx = 1e-18
LD = plasma.get_Debye()
col_freq = plasma.get_ion_neutral_freq()
print("Ion gyro radius (mm): " + str(plasma.get_ion_gyro_radius()*1e3))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyplas-0.2.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
pyplas-0.2.1-py3-none-any.whl
(4.9 kB
view hashes)