Interface to Q.instruments BioShake devices.
Project description
This Python package (bioshake_device) creates a class named BioshakeDevice, which contains an instance of serial_device2.SerialDevice and adds methods to it to interface to Q.instruments BioShake devices.
Authors:
Peter Polidoro <polidorop@janelia.hhmi.org>
License:
BSD
Example Usage:
from bioshake_device import BioshakeDevice dev = BioshakeDevice() # Might automatically find device if one available # if it is not found automatically, specify port directly dev = BioshakeDevice(port='/dev/ttyUSB0') # Linux dev = BioshakeDevice(port='/dev/tty.usbmodem262471') # Mac OS X dev = BioshakeDevice(port='COM3') # Windows dev.get_description() dev.shake_on(speed_target=1000) # speed_target (rpm) dev.get_shake_actual_speed() dev.shake_off() dev.temp_on(temp_target=45) # temp_target (°C) dev.get_temp_actual() dev.temp_off() devs = BioshakeDevices() # Might automatically find all available devices # if they are not found automatically, specify ports to use devs = BioshakeDevices(use_ports=['/dev/ttyUSB0','/dev/ttyUSB1']) # Linux devs = BioshakeDevices(use_ports=['/dev/tty.usbmodem262471','/dev/tty.usbmodem262472']) # Mac OS X devs = BioshakeDevices(use_ports=['COM3','COM4']) # Windows dev = devs[0]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
bioshake_device-1.7.2.zip
(12.6 kB
view details)
bioshake_device-1.7.2.tar.gz
(8.1 kB
view details)
File details
Details for the file bioshake_device-1.7.2.zip
.
File metadata
- Download URL: bioshake_device-1.7.2.zip
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7162d1d9a1801208c2e77eb90df2e4de452f0b663e9c1795b325af3495a64ee |
|
MD5 | 93893f3c8f9df79f31ef44fb0fa2a6bf |
|
BLAKE2b-256 | 6b2d1a40516748f2bd24acdfe15276df1d1b9ed3e7d754b211a7d3c713eda77b |
File details
Details for the file bioshake_device-1.7.2.tar.gz
.
File metadata
- Download URL: bioshake_device-1.7.2.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 141c64fcf4bcd2fa49a48cd25bc3cdd39224d70e458ee529366af810001de35c |
|
MD5 | 9f5850a7c58ba42e9f24b89e05e24aa9 |
|
BLAKE2b-256 | baf8ccf796b5657800701babbdb7a0d8d5dbda7b1148ca5a5957c2342a2afbdd |