Pronounced "skippy". Module for instrument communication via SCPI, implemented using pyvisa and pyserial (depending on the device)
Features
- Communicate with devices over GPIB, RS232, or USB via SCPI protocol
- Several common instruments (Agilent 33210A, Keithley 2400 sourcemeter) already have dedicated classes
- Create new instruments with the SCPIDevice class
Getting Started
Installation
This package can be installed directly with pip from pypi:
pip install scippy
Agilent Example
The following example sets the frequency, amplitude, and output state of an Agilent 33210A instrument, and verifies that the parameters match the ones you set.
from scippy import Agilent
agilent = Agilent()
agilent.frequency = 2500
agilent.amplitude = 0.5
agilent.output_on = True
agilent.verify()
Keithley Example
The following sets up a Keithley 2400 source meter, sets the voltage compliance, and sets a current
from scippy import Keithley, ureg
keithley = Keithley()
keithley.current = 0.05 # Units assumed to be in Amps
keithley.voltage_compliance = 25 * ureg.mV # Set compliance to 25mV
voltage, current = keithley.measure() # Sets the output on, measures the current and voltage
print(voltage)
print(current)
Common Issues (Keithley)
Some instruments, unfortunately, have much less reliable communication interfaces than others. In particular, the Keithley is extremely sensitive to not being closed.
Metadata
Release files for scippy 0.1.31
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 |
|---|---|---|---|---|
| scippy-0.1.31.tar.gz | 9.6 kB | Without provenance | Details for scippy-0.1.31.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scippy-0.1.31-py3-none-any.whl | Python 3 | none | any | Details for scippy-0.1.31-py3-none-any.whl |
Total release size: 32.0 kB
Release files / scippy-0.1.31.tar.gz
| Download URL | scippy-0.1.31.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73dd58ee3c9c3a0dcc7573c6779b719f050533717276d4528d0b98a2097cdf06
|
|
BLAKE2b-256 checksum How to use checksums |
c883fbf7152e4d4e49a26342f50b042bf64c76ea86e346ba49493e7fac5f111c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / scippy-0.1.31-py3-none-any.whl
| Download URL | scippy-0.1.31-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97f5716d5dbe2e390abadc086412417b38336721182a258ec20f264937667c25
|
|
BLAKE2b-256 checksum How to use checksums |
3ef19af01d7b9d416e23216dae9b4f8d9e9acaa559729596a22c09ab31178b94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for scippy 0.1.31
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.