Skip to main content

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


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 details)

Uploaded Source

Built Distribution

pyplas-0.2.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pyplas-0.2.1.tar.gz.

File metadata

  • Download URL: pyplas-0.2.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for pyplas-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a2c24ba4e051f3874d8df5d68dcd1acdd7694439793d0a1af2afde9b99b699e0
MD5 9d8be5d5d45f32c48be321fc2f6ad070
BLAKE2b-256 86a142a198e8593c3dbccdfc3d4b730fe35c11e85c1ffe0e18e15b99f3e73191

See more details on using hashes here.

File details

Details for the file pyplas-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyplas-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for pyplas-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 319bccf8a8665c49ad7bc4ecd5aa2d7ea62524e87d1429533e8a5c77ea4b9a01
MD5 3ebadf9f5ed7ccc1f0980ee270287267
BLAKE2b-256 9f87b880aed3ad5d4d1cfbb81e93cffbb8533fb80498efe55ce5e431daf598b2

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