Skip to main content

PyPI License: MIT Code style: black

Zurich Instruments HDIQ (zhinst-hdiq)

zhinst-hdiq is a package for Python 3.7+ to control a Zurich Instruments HDIQ IQ Modulator via Ethernet connection. Please note that this package is valid only for instruments with serial numbers 14100 and above.

Status

The zhinst-hdiq package is considered stable for general usage. The interface may be subject to incompatible changes between releases, which we will indicate by a change of the major version. Please check the changelog if you are upgrading.

Install

Install the package with pip:

$ pip install zhinst-hdiq

Example

The example below shows how to connect an HDIQ instrument to a host computer and control operation modes of the HDIQ channels.

import zhinst.hdiq.utils
from zhinst.hdiq import Hdiq

hdiq_devices = zhinst.hdiq.utils.discover_devices()
print(f'Found devices: {hdiq_devices}')
hdiq_serial, hdiq_ip = hdiq_devices[0]
print(f'Connecting to {hdiq_serial} (IP: {hdiq_ip})')
hdiq = Hdiq(hdiq_ip)
channel = 1                               # HDIQ channel 1; HDIQ has 4 channels: 1, 2, 3, 4
hdiq.set_rf_to_calib(channel)             # calibration mode in channel 1, set RF to Calib. port
# hdiq.set_rf_to_exp(channel)             # RF mode in channel 1, set RF to Exp. port
# hdiq.set_lo_to_exp(channel)             # LO mode in channel 1, set LO to Exp. port
status = hdiq.get_channel_status(channel) # get status of channel 1
print(f'channel {channel} -> {status}')

Contributing

We welcome contributions by the community, either as bug reports, fixes and new code. Please use the GitHub issue tracker to report bugs or submit patches. Before developing something new, please get in contact with us.

License

This software is licensed under the terms of the MIT license. See LICENSE for more detail.

Metadata

Release files for zhinst-hdiq 1.0.2

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

Source distribution (sdist)

Source distribution for zhinst-hdiq 1.0.2
File Size Uploaded Provenance
zhinst_hdiq-1.0.2.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zhinst-hdiq 1.0.2
File Interpreter ABI Platform
zhinst_hdiq-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / zhinst_hdiq-1.0.2.tar.gz

Download URL zhinst_hdiq-1.0.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b7d09bccd7f2e0d5af49ffe26f8310e886eed88e75feb217bfb9a94bc3d0f6c1
BLAKE2b-256 checksum
How to use checksums
63b210ba57772af2c0009d143805f86d74637c0a9ffdde2ad7edabb83870a455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / zhinst_hdiq-1.0.2-py3-none-any.whl

Download URL zhinst_hdiq-1.0.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a35dcc4d3b7b28274fb4645545cf94695809f39129e3fd174837684db3953700
BLAKE2b-256 checksum
How to use checksums
fec880f0178632e8ab15392833c8ec21443a38cbe4fc6d63ca70986417ed6c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for zhinst-hdiq 1.0.2

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