Library for optical emission spectroscopy of low-temperature plasmas.
Project description
owl
Library to calculate optical emission line shapes.
Usage
The library has currently three main classes:
- spectrometer
- transition
- emission_line
Example
#!/bin/python3
import matplotlib.pyplot as plt
import numpy as np
import sys
import os.path
home = os.path.expanduser('~')
sys.path.append(home + '/.local/lib/')
import owl
cw = central_wavelength = 453.37
x = np.linspace(cw-0.1, cw+0.1, 1000)
transition1 = owl.emitter.transition("Ti I", 453.324)
transition2 = owl.emitter.transition("Ti II", 453.396)
line1 = owl.emission_line(transition1,453.337,B=0.5)
line2 = owl.emission_line(transition2,453.410,B=0.5)
y1 = line1.get_profile(x, A=1, T=5000)
y2 = line2.get_profile(x, A=1, T=5000)
plt.plot(x,y1)
plt.plot(x,y2)
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
owlspec-0.1.tar.gz
(22.1 kB
view details)
Built Distribution
owlspec-0.1-py3-none-any.whl
(29.7 kB
view details)
File details
Details for the file owlspec-0.1.tar.gz
.
File metadata
- Download URL: owlspec-0.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33b9d08d8cf722e486d1572c5e357d6eeb959e8583794ad6009c3ba3a91be0c |
|
MD5 | da5a0f87062a43fd8c48d5d26663fcdb |
|
BLAKE2b-256 | 5affad9e59e3b0d4371097f43bd392c623abc32b5b5666a2991034e6df9e1361 |
File details
Details for the file owlspec-0.1-py3-none-any.whl
.
File metadata
- Download URL: owlspec-0.1-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c50b28857bc5dd97086521a897fd05d5aa90b150d61e4c6e82323dfc914c7cb |
|
MD5 | 9b94fd9e6608aafb7579edaa3081be4d |
|
BLAKE2b-256 | 2892033e1091e8eec9bbfff260c49c70b290fe0f6a295bb84235b1f9b998052c |