Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vtivrt-1.0.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vtivrt-1.0.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

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

Hashes for vtivrt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dad9d0a4bc23e7837ebbf388fd51289feb432419703bf35cc8b310e6b8d0000d
MD5 dca2deec4ccd85d91f53550d29825f47
BLAKE2b-256 ec7ade95b178400f9d315867ce6016fa570ac3011783b69b65ddfd79f12adf9b

See more details on using hashes here.

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

Hashes for vtivrt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92055f65eae12c268e82e28bde76e2504dde7cb8370825b6dd56104b826caefa
MD5 a1c35177a57dd0fda4f42e92aef0c7ab
BLAKE2b-256 8f83155c96e776312152e28b6279c6b1929a6c560f728f198d400deba7275b89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page