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.6.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.6.0
File Size Uploaded Provenance Actions
qspec-0.6.0.tar.gz 237.9 kB With provenance Details for qspec-0.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for qspec 0.6.0
File Actions
qspec-0.6.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for qspec-0.6.0-py3-none-win_arm64.whl
qspec-0.6.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for qspec-0.6.0-py3-none-win_amd64.whl
qspec-0.6.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.6.0-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
qspec-0.6.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.6.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
qspec-0.6.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for qspec-0.6.0-py3-none-macosx_11_0_x86_64.whl
qspec-0.6.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for qspec-0.6.0-py3-none-macosx_11_0_arm64.whl

Total release size: 6.0 MB

Release files / qspec-0.6.0.tar.gz

Download URL qspec-0.6.0.tar.gz
Size 237.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d61b0a82dcb5a08e621ce2ab269ecbe4a89c007cb7d78bbefbddf9413a704531
BLAKE2b-256 checksum
How to use checksums
c8d5ec604bf600b20c6aa6935e629be52bb8920753c89d364c8a9273219fc1c1
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.0-py3-none-win_arm64.whl
Size 507.2 kB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e49aa2b0bf6ccd3ac0e5dd271142689194408c35a04dd9de33d545ccee2682b8
BLAKE2b-256 checksum
How to use checksums
1b28a6f214d5166b7b461c9b797c1b4abc6871421a1d5e2039168e4186296dc2
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.0-py3-none-win_amd64.whl
Size 1.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1b4a9ab5f00771b9b3fb193474e825c4c5d163b4a022a9c92785d5ef7f7686e1
BLAKE2b-256 checksum
How to use checksums
042de462241901fdb18a3367c800111bb058384a678e02384d0cfd3e2550a554
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.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
f5145682f82155c08a748480db8eb8433af46b46cd0904c6cc49665d3c8626e2
BLAKE2b-256 checksum
How to use checksums
6b2857c91dbabb77d001efcba377c2c0f55c1d623a419a39e0484a0f2265a988
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.0-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 980.6 kB
Tags Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8a92039a20f6f4df8af7839713ec94a0e2f15e4d23e51e457b28ece3e2074f44
BLAKE2b-256 checksum
How to use checksums
4fddfb5392098777c3c814d733febdb7427246f3ae604fede8538f5de3a51166
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.0-py3-none-macosx_11_0_x86_64.whl
Size 868.5 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
9f932f92ed2e3355a85302eba2628c19d875c68d4bf79640e2dcf1d4de9d5c33
BLAKE2b-256 checksum
How to use checksums
c7d736b358046d7a5666e43bb1c6a9848e0a61af7e3d1f63d1e0d7b377ffbd55
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 24, 2026.

Transparency log

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

Download URL qspec-0.6.0-py3-none-macosx_11_0_arm64.whl
Size 436.1 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bdff5f48d91e3ce342ab463f0599eaddb548ea1f6978341318066fe90de24a58
BLAKE2b-256 checksum
How to use checksums
1fdad3dbf178512799331a4bdfa20da0f8b210eefc3a539800e9dc270d26ae10
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 24, 2026.

Transparency log

Security for qspec 0.6.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.6.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 24, 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