Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

API Doc

qspec’s module structure

Currently, there are seven modules in qspec, divided by their purpose.

  • 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.

qspec’s namespaces

For the ease of access of most of the functions implemented in qspec, the seven modules are summarized in only three namespaces,

  • qspec
  • qspec.models
  • qspec.simulate

which allows most of the functions to be accessed by simply importing qspec.

API navigation