RPC for Swabian Instruments' Time Tagger
Project description
!!! This is an experimental version !!!
Time Tagger RPC implementation using Pyro5.
Install
> pip install TimeTaggerRPC
Run server
Start the server on a PC with the Time Tagger connected.
> TimeTaggerRPC-server
Client example
Control Time Tagger remotely over the network.
import matplotlib.pyplot as plt
from TimeTaggerRPC import client
with client.createProxy(host='localhost', port=23000) as TT:
tagger = TT.createTimeTagger()
hist = TT.Correlation(tagger, 1, 2, binwidth=10, n_bins=2000)
hist.startFor(int(10e12), clear=True)
x = hist.getIndex()
while hist.isRunning():
plt.pause(0.1)
y = hist.getData()
plt.plot(x, y)
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
TimeTaggerRPC-0.0.1a2.tar.gz
(308.6 kB
view hashes)
Built Distribution
Close
Hashes for TimeTaggerRPC-0.0.1a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e055186e0e1a9d2a1236385f77bdd4613cf61cbf8865229129750d60a2cd6b41 |
|
MD5 | 375cd2112c1baf06a3ae29bbc56a7b7a |
|
BLAKE2b-256 | b2e298a507fb4d881c6fe2507726e388b6c40e9f2c51c071e030493f2dcbcc98 |