Python driver for 32-bit microscope synchronization device.
Project description
microsync — Python driver for microscope synchronization device
Python driver for microsync — a universal 32-bit Arduino Due-based triggering device. Control lasers, cameras, and timing with microsecond precision.
- Full documentation: stjude-smc.github.io/microsync
- Repository: github.com/stjude-smc/microsync
Install
Requires Python 3.7+ and pyserial (installed automatically):
pip install microsync
Quick start
Upload the microsync firmware to an Arduino Due, then:
from microsync import SyncDevice
sd = SyncDevice("COM4") # or "/dev/ttyUSB0" on Linux
sd.pos_pulse("D8", 1000, ts=1000) # 1 ms pulse on D8 after 1 ms delay
sd.go()
Features
- Microsecond-precision event scheduling (pulses, toggles, camera triggers)
- Laser shutter and interlock safety logic
- Acquisition modes: continuous, stroboscopic, ALEX
- Interactive event visualization (Bokeh)
- Context manager for jitter-free batch commands
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 Distribution
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 microsync-2.6.3.tar.gz.
File metadata
- Download URL: microsync-2.6.3.tar.gz
- Upload date:
- Size: 254.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20220d8441541fc6e16dbd94b0d0f7d070739239d6bd6ae3330363e05c3062ee
|
|
| MD5 |
9d757d3aab9421a2085f01286bb2b948
|
|
| BLAKE2b-256 |
27a5f91141d2535ebe25559d71501cb2c1adcc6534fe10cace88619628a3c6db
|
Provenance
The following attestation bundles were made for microsync-2.6.3.tar.gz:
Publisher:
publish-pypi.yml on stjude-smc/microsync
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
microsync-2.6.3.tar.gz -
Subject digest:
20220d8441541fc6e16dbd94b0d0f7d070739239d6bd6ae3330363e05c3062ee - Sigstore transparency entry: 924535070
- Sigstore integration time:
-
Permalink:
stjude-smc/microsync@85f6857cdba1e970729cd21bdca6a72c2e66109d -
Branch / Tag:
refs/tags/v2.6.3 - Owner: https://github.com/stjude-smc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@85f6857cdba1e970729cd21bdca6a72c2e66109d -
Trigger Event:
push
-
Statement type:
File details
Details for the file microsync-2.6.3-py3-none-any.whl.
File metadata
- Download URL: microsync-2.6.3-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd953136025a2f9b3fc7f6ec49726561e95c9da6b653694397ab5ea7f32b9acd
|
|
| MD5 |
8cbfe1e1787d02041d6e09b3fb641fe7
|
|
| BLAKE2b-256 |
fcb555ef7415c07b8cafbac18a44823796c2203508dc68362004e872f70ef222
|
Provenance
The following attestation bundles were made for microsync-2.6.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on stjude-smc/microsync
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
microsync-2.6.3-py3-none-any.whl -
Subject digest:
cd953136025a2f9b3fc7f6ec49726561e95c9da6b653694397ab5ea7f32b9acd - Sigstore transparency entry: 924535073
- Sigstore integration time:
-
Permalink:
stjude-smc/microsync@85f6857cdba1e970729cd21bdca6a72c2e66109d -
Branch / Tag:
refs/tags/v2.6.3 - Owner: https://github.com/stjude-smc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@85f6857cdba1e970729cd21bdca6a72c2e66109d -
Trigger Event:
push
-
Statement type: