pyxtralien
This module is a simple interface to Ossila's Source Measure Unit.
Description
Xtralien is an open-source project from the Engineers at Ossila to allow control of their equipment easily and Pythonically. It is based on CLOI, the Command Language for Ossila Instruments.
Installation
Using pip:
pip install xtralien
If you want to control the equipment using USB you will also need to install pySerial.
Usage
Below is a simple example of taking a measurement using the library.
import time
from xtralien import Device
com_port = 'com5'
channel = 'smu1'
# Connect to the Source Measure Unit using USB
with Device(com_port) as SMU:
# Turn on SMU 1
SMU[channel].set.enabled(1, response=0)
# Set voltage, measure voltage and current
voltage, current = SMU[channel].oneshot(set_v)[0]
# Print measured voltage and current
print(f'V: {voltage} V; I: {current} A')
# Reset output voltage and turn off SMU 1
SMU[channel].set.voltage(0, response=0)
time.sleep(0.1)
SMU[channel].set.enabled(False, response=0)
For more documentation examples see our programming guide.
Metadata
Release files for xtralien 2.11.2
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 | |
|---|---|---|---|---|
| xtralien-2.11.2.tar.gz | 12.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xtralien-2.11.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / xtralien-2.11.2.tar.gz
| Download URL | xtralien-2.11.2.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c765522d4cf20951542d146addc319691359afec8ce757002d401c6fc7e203e0
|
|
BLAKE2b-256 checksum How to use checksums |
4c984941ff589891c395b5362e3e8535bae9ba00fdd00faf8ca6c0a960703e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / xtralien-2.11.2-py3-none-any.whl
| Download URL | xtralien-2.11.2-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad56445fdbdb9185043479d71bc3321769cf6ab825a7f0079a0a346051bcb9ac
|
|
BLAKE2b-256 checksum How to use checksums |
a960b59356c7167fde85cf18c938695cb5df797f01cdbc727d7c944e1f04bdbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for xtralien 2.11.2
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.