rminstr
This package is a library of instrument control and data recording code. Instruments capable of providing the same service have control classes with a shared syntax, allowing similar instruments to be easily swapped into experiment scripts.
Read the pages for code API and examples.
Usage
For example, suppose you have a nano voltmeter (an HP 34420A in this example) and an a
digital multi-meter (HP 3458A in this example). While these instruments are slightly different, they
can both be configured to behave like a voltmeter in an experiment. In this package, both instruments
have a measurement functionality called Voltmeter defined. This means that interacting with one instrument
model that can act as a Voltmeter,
from rminstr.instruments.HP3458A import Voltmeter
vm = Voltmeter('GPIB0::16::INSTR')
vm.initial_setup()
vm.setup(v_range=1)
vm.arm()
vm.trigger()
vm.wait_until_data_available(timeout=10)
data = vm.fetch_data()
is identical to the code to interact with a different model of Voltmeter.
from rminstr.instruments.HP34420A import Voltmeter
vm = Voltmeter('GPIB0::16::INSTR')
vm.initial_setup()
vm.setup(v_range=1)
vm.arm()
vm.trigger()
vm.wait_until_data_available(timeout=10)
data = vm.fetch_data()
The basic idea of the package, is that any instruments which share a measurement functionality - this could be
Voltmeter, Ammeter, etc - can be swapped at the import statement and still function. This makes
it very easy to develop readable, straight forward flow control scripts that can be very quickly adapted to
support multiple instrument models that provide similar functionalities.
In addition to the library of instruments, the package provides some additional features for managing experiments like the
ExperimentParameters- a type safe csv based markup language for defining configuration files (can be edited in Excel).DataRecord- a class for recording, managing, and retrieving timeseries data and metadata collected from multiple instruments in human readable csv files.
Authors
Contributors names and contact info
Daniel C. Gray, Zenn C. Roberts, Aaron M. Hagerstrom
Metadata
Release files for rminstr 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rminstr-1.0.0.tar.gz | 117.0 kB | Without provenance | Details for rminstr-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rminstr-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for rminstr-1.0.0-py3-none-any.whl |
Total release size: 274.8 kB
Release files / rminstr-1.0.0.tar.gz
| Download URL | rminstr-1.0.0.tar.gz |
|---|---|
| Size | 117.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a914b06403e55fa5176497118e49d61c26085e9f712ef2392c692a899bb765df
|
|
BLAKE2b-256 checksum How to use checksums |
6b218c05ea2e267244b21747b8c31b074cdf2325c51b07b1d8d609f8308ee800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rminstr-1.0.0-py3-none-any.whl
| Download URL | rminstr-1.0.0-py3-none-any.whl |
|---|---|
| Size | 157.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50e2534d4f906d1098bc04b2e478cf6c61545b46dc32f2337dbcf96e0cbe4806
|
|
BLAKE2b-256 checksum How to use checksums |
7343d47c2818c30c5a865398da77b36585048e8794c70ec2565fa9c2a927b3f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for rminstr 1.0.0
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.