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

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

Built distribution (wheel)

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

Total release size: 163.2 kB

Release files / thzdaq_instruments-0.0.6b4.tar.gz

Download URL thzdaq_instruments-0.0.6b4.tar.gz
Size 83.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0333d33c365e8be907630dd3039d9c4d7843f46910c3d62dec9248fb1b73e54d
BLAKE2b-256 checksum
How to use checksums
a6a8e798570ca1165840cb695814231c258e3ffbaea0fe8b0799dd823e74aab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

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

Download URL thzdaq_instruments-0.0.6b4-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
664b0f37f082a8966dc9c86d691158e2b9f82993b9c142d20cacbfd8e305d2ee
BLAKE2b-256 checksum
How to use checksums
bcd124f4378e03c97d0d55d2efb5ce94e0dca889cfaf6000d7b588e1622a0538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Security for thzdaq-instruments 0.0.6b4

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