vtivrt is a library for decoding/encoding of VITA Radio Transport (VITA 49) data streams, for use with VTI Instruments products.
Project description
vtivrt is a library for decoding/encoding of VITA Radio Transport (VITA 49) data streams, for use with VTI Instruments products.
>>> import vtivrt
>>> reader = vtivrt.VtiVrtReader('example.local', 9901)
>>> packet = reader.read(True)
>>> packet.stream_id
257
>>> packet.timestamp
Decimal('1646852.220398853')
>>> packet.data
[-5.2093963623046875, -5.208981990814209, -5.208486080169678, -5.207897663116455]
>>> packet.context[0].data.trigger_timestamp
Decimal('1646852.220391333')
- The main classes of interest exposed by vtivrt are:
vtivrt.reader.VtiVrtReader - Connects to a streaming socket, performs handshaking with the server, and reads data.
vtivrt.reader.VtiVrtThread - Creates multiple instances of vtivrt.reader.VtiVrtReader and collates data from all of them in a background thread.
vtivrt.packet.VtiVrtPacket - Represents one VRT packet, and optionally its associated context packets.
Installing
vtivrt is available on PyPI:
$ python -m pip install vtivrt
Documentation
Full documentation is available at vtivrt.readthedocs.io.
Supported Versions
vtivrt officially supports Python 3.6+.
Features
Allows reading and writing VRT data streams to transfer high speed streaming data to and from VTI Instruments products.
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 vtivrt-1.0.0.tar.gz.
File metadata
- Download URL: vtivrt-1.0.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dad9d0a4bc23e7837ebbf388fd51289feb432419703bf35cc8b310e6b8d0000d
|
|
| MD5 |
dca2deec4ccd85d91f53550d29825f47
|
|
| BLAKE2b-256 |
ec7ade95b178400f9d315867ce6016fa570ac3011783b69b65ddfd79f12adf9b
|
File details
Details for the file vtivrt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vtivrt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92055f65eae12c268e82e28bde76e2504dde7cb8370825b6dd56104b826caefa
|
|
| MD5 |
a1c35177a57dd0fda4f42e92aef0c7ab
|
|
| BLAKE2b-256 |
8f83155c96e776312152e28b6279c6b1929a6c560f728f198d400deba7275b89
|