Skip to main content

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

Project description

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.

Project details


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.4.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zhinst_timing_models-26.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecde68f500cca2a9c7d42ff41f466743f2d1e000f6eb1485dce55c629cc2c311
MD5 507182f822436122b96f256aa946cd9e
BLAKE2b-256 92d8e1e417cc864993e4c1eee78399bb968d0f168b51f2e1c8c0bb6015193bb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page