Skip to main content

Physics toolbox for laser spectroscopy

Project description


Static Badge Static Badge Static Badge

Static Badge Static Badge

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.

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

qspec-0.5.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qspec-0.5.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file qspec-0.5.0.tar.gz.

File metadata

  • Download URL: qspec-0.5.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for qspec-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ac74fb1a96aa200ab994835366efc47823e7df29d704b3b6e86dd7e61d2e40f2
MD5 32e7742b13fb8ce208c11f9deb086a08
BLAKE2b-256 119cbc7752c5d89288f63a341f4f66dd0f1f214289a52aa7f465a575aba8dc8a

See more details on using hashes here.

File details

Details for the file qspec-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: qspec-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for qspec-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26971ef1a56f6730789bca5df13f42c69e156bbbe46dabd39ec840118e570254
MD5 98057ec29f7bb489a9ee313db780740f
BLAKE2b-256 b718aa6ef8848ec8fb66301620433b4f5ab38fdf7d6eca1cdabc79921a1d4978

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page