Skip to main content

A python package for calculations surrounding Collinear Laser Spectroscopy.

Project description

qspec

A python package for calculations surrounding Collinear Laser Spectroscopy.

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, even in the case of arrays of vector- or matrix-objects. This enables fast calculations with large samples of data, e.g., facilitating Monte-Carlo simulations.

Exemplary, two exciting use cases could be:

  • Coherently evolve atomic state population in a classical laser field. In contrast to powerful packages such as qutip, the quantum mechanical system is set up automatically by just 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.

Included modules

  • tools: General helper, print, data shaping and mathematical functions.
  • stats: Contains functions for the statistical analysis of data.
  • physics: Library of physical functions.
  • algebra: Contains functions to calculate dipole coefficients and Wigner-j symbols.
  • analyze: Contains optimization functions and a class for King-plots.
  • lineshapes: A framework to generate modular lineshape models for fitting.
  • simulate: An intuitive framework to simulate laser-atom interactions.

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.1.2.tar.gz (332.1 kB view hashes)

Uploaded Source

Built Distribution

qspec-0.1.2-py3-none-any.whl (337.9 kB view hashes)

Uploaded Python 3

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