Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

thzdaq-instruments

Instrument layer of ThzDAQ without any GUI dependency:

  • capabilities — small interfaces by instrument ability (Switchable, VoltageSource, FrequencySource, PowerDetector, ...). Measurements depend on these, not on vendors.
  • transport — message links (TCP socket, serial), Prologix GPIB addressing, a pool that shares one physical connection between instruments and serializes access with a lock.
  • instrument — Instrument, ScpiInstrument and Channel base classes.
  • registry — driver catalog: key → class, capabilities are derived from the class.
  • drivers — Rigol DP832A, R&S HMP2030 / NRX / ZVA67 / FSEK30, Keithley 2200, Agilent E8247C, Scontel SIS block, NI YIG (HTTP), Modbus chopper, LakeShore 336, SRS SR830, Sumitomo F-70 (RS-232 and REST), Pfeiffer TC 110 and gauges (RS-485), Arduino wire grid.
  • GPIB through Prologix Ethernet/USB, or any VISA resource with the visa extra (pip install thzdaq-instruments[visa]).
  • sim — simulators for every capability, used for tests and running without hardware.
from thzdaq_instruments import default_registry
from thzdaq_instruments.drivers import RigolDP832A

registry = default_registry()
supply = registry.open("rigol.dp832a", RigolDP832A.connection("169.254.0.14"))
if_switch = supply.channel(2)          # Switchable + VoltageSource + ...
if_switch.set_output(True)
supply.close()

sim = registry.open("rigol.dp832a", simulate=True)  # same shape, no hardware

Units: SI everywhere (Hz, V, A, K, s), power in dBm.

uv run --package thzdaq-instruments pytest packages/thzdaq-instruments

Metadata

Release files for thzdaq-instruments 0.0.6b7

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

Source distribution (sdist)

Source distribution for thzdaq-instruments 0.0.6b7
File Size Uploaded Provenance Actions
thzdaq_instruments-0.0.6b7.tar.gz 93.6 kB Without provenance Details for thzdaq_instruments-0.0.6b7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thzdaq-instruments 0.0.6b7
File Interpreter ABI Platform Actions
thzdaq_instruments-0.0.6b7-py3-none-any.whl Python 3 none any Details for thzdaq_instruments-0.0.6b7-py3-none-any.whl

Total release size: 180.0 kB

Release files / thzdaq_instruments-0.0.6b7.tar.gz

Download URL thzdaq_instruments-0.0.6b7.tar.gz
Size 93.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6b2a8154176de502c2c534e0fce7f6866566add7c9392efc8fc553dac7dcb9e3
BLAKE2b-256 checksum
How to use checksums
ab974f0198669d044dca3986fd5e3fbbf8e66f94803ed9ca22c11c9344e36c3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / thzdaq_instruments-0.0.6b7-py3-none-any.whl

Download URL thzdaq_instruments-0.0.6b7-py3-none-any.whl
Size 86.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1db58ccbfaa532985fd6d1205a1f0634847e5655e5c4aaa79343b0e9448d655
BLAKE2b-256 checksum
How to use checksums
0f134deb9ebca7bf32554b2da1772458a51d579589502ba96dd3291cd5a96c3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for thzdaq-instruments 0.0.6b7

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