2025-03-26 16:14:21 +01:00
2025-02-11 21:07:56 +01:00
2021-09-08 12:30:54 +00:00
2021-09-08 14:04:00 +02:00

BStrd

Online analysis via bsread

Examples

Creating channels

from bstrd import BS, bsstream

pid = BS("pid")
trace = BS("SATES21-GES1:A1_VALUES")

with optional modulo and offset

inten = BS("SATFE10-PEPG046:FCUP-INTENSITY-CAL", modulo=10, offset=1)

Receiving data

Read from channel:

for _ in bsstream:
    val = trace.value
    print(val)

Read from data dict:

for data in bsstream:
    val = data["SATES21-GES1:A1_VALUES"]
    print(val)

Iterate a single channel:

for val in trace:
    print(val)
Description
BStrd
Readme 50 KiB
Languages
Python 100%