Interface library for Alshain Oy devices
Project description
Alshain
Python library for Alshain Oy devices
Quick start
# Pica photometer readout
import alshain
import serial
import sys
# Serial port as first command line parameter
com = serial.Serial( sys.argv[1], alshain.BAUDRATE, timeout = 0.25 )
dev = alshain.Pica( com, address = 1 )
dev.write( alshain.Pica.Parameters.PULSE_ENABLE, 1 )
print( dev.read( alshain.pica.Parameters.RESULT ) )
# Strix SMU
import alshain
import serial
import sys
# Serial port as first command line parameter
com = serial.Serial( sys.argv[1], alshain.BAUDRATE, timeout = 0.25 )
smu = alshain.Strix( com, address = 1 )
voltage, current = smu.measure()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alshain-0.1.0.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alshain-0.1.0.tar.gz.
File metadata
- Download URL: alshain-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a95975fabd5673795653c6284150f4188473804f71ee34dfbbc6131fd57058ed
|
|
| MD5 |
11373fcf5d06044399b127cab1f0a7eb
|
|
| BLAKE2b-256 |
c2bb7661948597ecb677c73567a5bbfca735692c53581c983481b68d739a34f8
|
File details
Details for the file alshain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: alshain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
935a697c882e3d10bc98ff7a87936d0cc6419cd6e11fb1c8409d08f52f28ce9b
|
|
| MD5 |
ae4b03e087c2d9b4b441daa794d10fcf
|
|
| BLAKE2b-256 |
33043b8a8a32ccef25c8c1dca0da6ff0536841830f00070577d8a6d07764dce9
|