Skip to main content


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.

Metadata

Release files for qspec 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qspec 0.7.0
File Size Uploaded Provenance Actions
qspec-0.7.0.tar.gz 195.1 kB With provenance Details for qspec-0.7.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for qspec 0.7.0
File Actions
qspec-0.7.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for qspec-0.7.0-py3-none-win_arm64.whl
qspec-0.7.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for qspec-0.7.0-py3-none-win_amd64.whl
qspec-0.7.0-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details for qspec-0.7.0-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
qspec-0.7.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 Details for qspec-0.7.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
qspec-0.7.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for qspec-0.7.0-py3-none-macosx_11_0_x86_64.whl
qspec-0.7.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for qspec-0.7.0-py3-none-macosx_11_0_arm64.whl

Total release size: 6.0 MB

Release files / qspec-0.7.0.tar.gz

Download URL qspec-0.7.0.tar.gz
Size 195.1 kB
Tags Source
SHA-256 checksum
How to use checksums
362888468db73556b8631cd0922123ecf7c0f7f7d87be63637c73ba08f6df6bd
BLAKE2b-256 checksum
How to use checksums
dc322482a040e26469b370aa377750ca50ad2bc24a2bce967a6888d0b2413ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-win_arm64.whl

Download URL qspec-0.7.0-py3-none-win_arm64.whl
Size 514.3 kB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e151b37a4f4064ecdad359241669ab50963d87c39140f5896f2efb97cf00e357
BLAKE2b-256 checksum
How to use checksums
4c4440e7194882d9169490f6fa0d367cc4c7c201deaccc4bb1b9440dd5087ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-win_amd64.whl

Download URL qspec-0.7.0-py3-none-win_amd64.whl
Size 1.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
50c5b41d9254703b681936fb27136f02ac91c789df020ede415c77085895af8c
BLAKE2b-256 checksum
How to use checksums
1491fc49134b4a0c3760e4d18401ee84db4a86a7eabcbc3ad95421fac5bd4579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL qspec-0.7.0-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 2.0 MB
Tags Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e8b840a33a37e599e3e1298e6fcc1c85132d07cdb9e1ef3fec14616839a0afbe
BLAKE2b-256 checksum
How to use checksums
67f3e73d915037725f6db55270b32ba78e641cfd449a120e9a7f4b9967f09152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL qspec-0.7.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 989.9 kB
Tags Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8e7bb566139bb66fd239d3440e1c2356f90be5af02dd737d992c1f73e24e6086
BLAKE2b-256 checksum
How to use checksums
179280b6653c47c923589de12a5bacac7ce2b3d52d931121d183b5abf7333f87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-macosx_11_0_x86_64.whl

Download URL qspec-0.7.0-py3-none-macosx_11_0_x86_64.whl
Size 879.2 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
7d86f3eef14e5e8cc13137c9cc24921a29e9a30c01a969a8079c87acbe24ed70
BLAKE2b-256 checksum
How to use checksums
af362c6c150568bd540aa34fbe1b687ba69a8a90b0eb325e90a3fcf0eb3fb9b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / qspec-0.7.0-py3-none-macosx_11_0_arm64.whl

Download URL qspec-0.7.0-py3-none-macosx_11_0_arm64.whl
Size 443.8 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fbd4cfd9f6fe72c56e2c43082aeed7f5ecd5174290e4186e6458219ff6355e60
BLAKE2b-256 checksum
How to use checksums
451520f8e55d7dc96de5ea6712fd81ff639eb16213c1053b6215e60ed3cd6d01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for qspec 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for qspec-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page