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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhinst_timing_models-26.7.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file zhinst_timing_models-26.7.0-py3-none-any.whl.

File metadata

  • Download URL: zhinst_timing_models-26.7.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for zhinst_timing_models-26.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b29d5ff637a1a17a6e0ad8965d8634b9890f5022bcba04d2530c366d6633cdb
MD5 13059b7879561a26b29e092a9fd32734
BLAKE2b-256 2f5832cc1b7a5a08d0f880603250a43f52fe76ba97750741d3e3c85a1967d48e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

26.7.0 This release

1 file

26.4.0

1 file

26.1.0

1 file

25.10.0

1 file

25.7.0

1 file

25.4.0

1 file

25.1.0

1 file

24.10.64896

1 file

24.7.62464

1 file

24.4.57831

1 file

24.1.54288

1 file

23.10.52579

2 files

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