Tutorials
In this section tutorials for different parts of qspec are put together to facilitate the access to the code base. The tutorials assume you have already installed qspec. For a guide to install qspec, see Install. All of qspec's content can be accessed using
import qspec as qs import qspec.models as mod import qspec.simulate as sim
Physical, statistical and general mathematical functions as well as data processing routines can be accessed directly
from the qspec
namespace. The two submodules qspec.models
and qspec.simulate
feature object-oriented
frameworks to construct fit models and to simulate laser-atom interactions, respectively.
For a detailed introduction of these, please refer to the API documentation or the tutorials below.
The following tutorials guide you though different applications of qspec. The code from the tutorials and additional examples can be downloaded from the GitHub repository.
- Getting started (from publication)
- Calculation of hyperfine structure and Zeeman shifts
- Construction and fitting of modular lineshape models
- Time evolution of quantum interference in fluorescence spectra (from publication)
- 2d King-plot analyses (from publication)