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.6b9

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.6b9
File Size Uploaded Provenance Actions
thzdaq_instruments-0.0.6b9.tar.gz 106.0 kB Without provenance Details for thzdaq_instruments-0.0.6b9.tar.gz

Built distribution (wheel)

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

Total release size: 200.8 kB

Release files / thzdaq_instruments-0.0.6b9.tar.gz

Download URL thzdaq_instruments-0.0.6b9.tar.gz
Size 106.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1af47ac33e58ff63ce3a990fa181a224f5c252d149cc9b7e6f668435b0f8b24e
BLAKE2b-256 checksum
How to use checksums
43bbb46bcd62bf8a221b82a9b24b4be069ba7c1eae45e2c031263c847b3aeacd
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.6b9-py3-none-any.whl

Download URL thzdaq_instruments-0.0.6b9-py3-none-any.whl
Size 94.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31b09e88862c8e5ed049943ae951f864f1c2549b1841ff9eae46905c091fc8cf
BLAKE2b-256 checksum
How to use checksums
36b139988c1fcd153fcb270276a8ae0f61e93a2714c5b24ccdb855b4e742b2da
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.6b9

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