Skip to main content

Feedback Latency Model Parameters

PyPI - Version PyPI - Python Version


Feedback Data Latency model for PQSC, SHF- and HDAWG systems.

Table of Contents

Installation

pip install zhinst-timing-models

Usage

from zhinst.timing_models import (
    PQSCMode,
    QAType,
    QCCSFeedbackModel,
    SGType,
    TriggerSource,
    get_feedback_system_description,
)

model = QCCSFeedbackModel(
    description=get_feedback_system_description(
        generator_type=SGType.HDAWG,
        analyzer_type=QAType.SHFQA,
        pqsc_mode=PQSCMode.DECODER,
        trigger_source=TriggerSource.ZSYNC,
        )
    )
awg_clock_cycles = model.get_latency(...)

Development

This project uses uv for dependency management. The uv.lock file pins the exact versions of all (direct and transitive) dependencies.

# Install the project with dev dependencies (test + lint)
uv sync --group dev

# Run the test suite
uv run pytest tests

# Run the linters
uv run ruff check .
uv run black --check --diff .
uv run mypy --ignore-missing-imports --explicit-package-bases -p zhinst.timing_models

# Build the wheel/sdist
uv build

To update the lock file after changing dependencies in pyproject.toml:

uv lock

License

zhinst-timing-models is distributed under the terms of the MIT license.

Metadata

Release files for zhinst-timing-models 26.7.0

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

Built distribution (wheel)

Table of built distributions (wheels) for zhinst-timing-models 26.7.0
File Interpreter ABI Platform Actions
zhinst_timing_models-26.7.0-py3-none-any.whl Python 3 none any Details for zhinst_timing_models-26.7.0-py3-none-any.whl

Release files / zhinst_timing_models-26.7.0-py3-none-any.whl

Download URL zhinst_timing_models-26.7.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b29d5ff637a1a17a6e0ad8965d8634b9890f5022bcba04d2530c366d6633cdb
BLAKE2b-256 checksum
How to use checksums
2f5832cc1b7a5a08d0f880603250a43f52fe76ba97750741d3e3c85a1967d48e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for zhinst-timing-models 26.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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