# 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**](https://github.com/mimurrayy/owl).
## Example
```python
#!/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))
```
Raw data
{
"_id": null,
"home_page": "https://github.com/mimurrayy/pyplas",
"name": "pyplas",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Julian Held",
"author_email": "julian.held@umn.edu",
"download_url": "https://files.pythonhosted.org/packages/86/a1/42a198e8593c3dbccdfc3d4b730fe35c11e85c1ffe0e18e15b99f3e73191/pyplas-0.2.1.tar.gz",
"platform": "any",
"description": "# pyplas - Basic library for low-temperature plasmas\r\n\r\nThe library contains a few very basic classes to store information about a low-temperature plasma and allows for the calculation of common plasma parameters.\r\nIt's mainly meant to support other libraries that do actually useful things with this basic framework, like [**owlspec**](https://github.com/mimurrayy/owl).\r\n\r\n\r\n## Example\r\n\r\n```python\r\n#!/bin/python3\r\nimport pyplas\r\nfrom scipy import constants as const\r\n\r\nn0 = 1e15\r\nelectrons = pyplas.electrons(n0, T=3*const.eV/const.k)\r\nions = pyplas.ions(\"Ar\", n0, T=500)\r\nneutrals = pyplas.neutrals(\"Ar\", P=300)\r\nplasma = pyplas.plasma(electrons, ions, neutrals, B=0.1)\r\nprint(\"Electron temperature (K): \" + str(plasma.Te))\r\nplasma.ion_neutral_cx = 1e-18\r\nLD = plasma.get_Debye()\r\ncol_freq = plasma.get_ion_neutral_freq()\r\n\r\nprint(\"Ion gyro radius (mm): \" + str(plasma.get_ion_gyro_radius()*1e3))\r\n``` \r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Basic library for low-temperature plasmas.",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/mimurrayy/pyplas"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f87b880aed3ad5d4d1cfbb81e93cffbb8533fb80498efe55ce5e431daf598b2",
"md5": "3ebadf9f5ed7ccc1f0980ee270287267",
"sha256": "319bccf8a8665c49ad7bc4ecd5aa2d7ea62524e87d1429533e8a5c77ea4b9a01"
},
"downloads": -1,
"filename": "pyplas-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ebadf9f5ed7ccc1f0980ee270287267",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1",
"size": 4863,
"upload_time": "2024-09-07T18:09:43",
"upload_time_iso_8601": "2024-09-07T18:09:43.790196Z",
"url": "https://files.pythonhosted.org/packages/9f/87/b880aed3ad5d4d1cfbb81e93cffbb8533fb80498efe55ce5e431daf598b2/pyplas-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "86a142a198e8593c3dbccdfc3d4b730fe35c11e85c1ffe0e18e15b99f3e73191",
"md5": "9d8be5d5d45f32c48be321fc2f6ad070",
"sha256": "a2c24ba4e051f3874d8df5d68dcd1acdd7694439793d0a1af2afde9b99b699e0"
},
"downloads": -1,
"filename": "pyplas-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "9d8be5d5d45f32c48be321fc2f6ad070",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1",
"size": 4016,
"upload_time": "2024-09-07T18:09:46",
"upload_time_iso_8601": "2024-09-07T18:09:46.417900Z",
"url": "https://files.pythonhosted.org/packages/86/a1/42a198e8593c3dbccdfc3d4b730fe35c11e85c1ffe0e18e15b99f3e73191/pyplas-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-07 18:09:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mimurrayy",
"github_project": "pyplas",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyplas"
}