The qspec Python package provides mathematical and physical functions frequently used in laser spectroscopy but also more general methods for data processing. Most functions are compatible with numpy arrays and are able to process n-dimensional arrays. This enables fast calculations with large samples of data, e.g., facilitating Monte-Carlo simulations. Tutorials and the API documentation are available on the Homepage. Additional example scripts can be found in the example folder on GitHub.
Dependencies
Modules
- algebra: Angular momentum algebra and transition matrix elements.
- analyze: Optimization functions and a class for King-plots.
- models: Framework to generate modular fit models.
- physics: Library of physical functions.
- qtypes: Data types and type-casting functions.
- simulate: Intuitive framework to simulate coherent laser-atom interactions.
- stats: Functions for the statistical analysis of data.
- tools: General helper, print, data shaping and mathematical functions.
Exemplary use cases
- Calculate frequently used physical observables such as kinetic energies, velocities, Doppler shifts, hyperfine structure splittings, etc.
- Coherently evolve atomic state population in a classical laser field, including rank-k multipole interactions. In contrast to powerful packages such as qutip, the quantum mechanical system is set up automatically by providing atomic state and laser information.
- Generate modular lineshape models for fitting. The modular system can be used to sum, convolve, link models and share parameters, fit hyperfine structure spectra, etc. This module is similar to the satlas2 Python package.
- Perform multidimensional King-plot analyses.
Metadata
Release files for qspec 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qspec-0.5.0.tar.gz | 1.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qspec-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 MB
Release files / qspec-0.5.0.tar.gz
| Download URL | qspec-0.5.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac74fb1a96aa200ab994835366efc47823e7df29d704b3b6e86dd7e61d2e40f2
|
|
BLAKE2b-256 checksum How to use checksums |
119cbc7752c5d89288f63a341f4f66dd0f1f214289a52aa7f465a575aba8dc8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / qspec-0.5.0-py3-none-any.whl
| Download URL | qspec-0.5.0-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26971ef1a56f6730789bca5df13f42c69e156bbbe46dabd39ec840118e570254
|
|
BLAKE2b-256 checksum How to use checksums |
b718aa6ef8848ec8fb66301620433b4f5ab38fdf7d6eca1cdabc79921a1d4978
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|