Skip to main content

Python tools to read/write Digital RF data in HDF5 format

Project description

The Digital RF project encompasses a standardized HDF5 format for reading and writing of radio frequency data and the software for doing so. The format is designed to be self-documenting for data archive and to allow rapid random access for data processing.

This package includes:

  • digital_rf Python package

  • Tools for managing and processing Digital RF data

  • gr_digital_rf Python package for interfacing with GNU Radio

  • GNU Radio Companion blocks

  • thor.py UHD radio recorder script

  • Example scripts and applications

Digital RF C and MATLAB libraries can be found at the official source code repository. To build from source, you must have the HDF5 library and headers installed.

For help and/or questions, contact the user mailing list.

GNU Radio Configuration

If you plan on using Digital RF with GNU Radio, make sure to run the pip command in the same Python environment that your GNU Radio installation uses so that GNU Radio can find the packages. Depending on your GNU Radio installation, it may be necessary to add the Digital RF blocks to your GRC blocks path by creating or editing the GRC configuration file

Unix (local):

$HOME/.gnuradio/config.conf

Windows (local):

%APPDATA%/.gnuradio/config.conf

Unix (global):

/etc/gnuradio/conf.d/grc.conf

Custom (global):

{INSTALL_PREFIX}/etc/gnuradio/conf.d/grc.conf

to contain:

[grc]
local_blocks_path = {PIP_PREFIX}/share/gnuradio/grc/blocks

(replacing {PIP_PREFIX} with the pip installation prefix, “/usr/local” for example).

Example Usage

The following code will load and read data located in a directory “/data/test”.

Load the module and create a reader object:

import digital_rf as drf
do = drf.DigitalRFReader('/data/test')

List channels:

do.get_channels()

Get data bounds for channel ‘cha’:

s, e = do.get_bounds('cha')

Read first 10 samples from channel ‘cha’:

data = do.read_vector(s, 10, 'cha')

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

digital_rf-2.6.8.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

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

digital_rf-2.6.8-cp310-cp310-win_amd64.whl (273.9 kB view details)

Uploaded CPython 3.10Windows x86-64

digital_rf-2.6.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

digital_rf-2.6.8-cp39-cp39-win_amd64.whl (273.9 kB view details)

Uploaded CPython 3.9Windows x86-64

digital_rf-2.6.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

digital_rf-2.6.8-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

digital_rf-2.6.8-cp38-cp38-win_amd64.whl (273.9 kB view details)

Uploaded CPython 3.8Windows x86-64

digital_rf-2.6.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

digital_rf-2.6.8-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

digital_rf-2.6.8-cp37-cp37m-win_amd64.whl (273.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

digital_rf-2.6.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

digital_rf-2.6.8-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file digital_rf-2.6.8.tar.gz.

File metadata

  • Download URL: digital_rf-2.6.8.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for digital_rf-2.6.8.tar.gz
Algorithm Hash digest
SHA256 b48f1c0515362d507716194fad5369501e76dd68d6af23814cbf1f68e919bc1f
MD5 bf5329d5bd06a4d4308d4bedc99ac386
BLAKE2b-256 7e84195ad8dafeb1206546cc4e5f56d3fb33c711ac0a072668a566af9e2e09f8

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: digital_rf-2.6.8-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 273.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for digital_rf-2.6.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1f6aa567de118092ec07c2add52c306750e3f736ba42efa928777f955333e4cd
MD5 7dcd65b02332bb0f89a04eabddd9f61a
BLAKE2b-256 62e236b8124068fa9b0c77fe94b5e6e83cf3bf2ac715c391752f3d9561cb9339

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 416ceda7ac8ecfb6cda535bdbca7e21a3c184807406ffac308ff96e3c7e54043
MD5 9b504cf9bf3d821e2acdbb0e1eb3e159
BLAKE2b-256 3a9bfe5a4d95e45ef3491ba242b067f369e4991fbbff09aee032b91502a2e366

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: digital_rf-2.6.8-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 273.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for digital_rf-2.6.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b0f460ed02d5affa9a6f4570db2525d2c5f850d22043d7cbbc9595530265197f
MD5 ae4b080d9f8978d8a7dac1eda9b0d753
BLAKE2b-256 4203eeace9469db31bf006e748e5f91ec9bbf488e9606323b6da83c421f8ded1

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 94823eccced8dd7156051a0b60672a59f14ae336931c48cf92ced3c6f39aa4d0
MD5 12c70b97e359d95176f2e4451d602bb7
BLAKE2b-256 64652ac8386771a4483b5b1a33bdc94155df3ed6509f8eacfb69e84b3962c370

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4619e579a4559e26919b10b3fe532ad60b80fbe5998e369bbac82f40d5c40103
MD5 8b5ece5338cf400c3c5a98931b6d707d
BLAKE2b-256 7efcc9145fefb6575bf72853119d4708302c5975194e8ba32437b184f99c98b5

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: digital_rf-2.6.8-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 273.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for digital_rf-2.6.8-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f0acc3c9f259ab2a1c96d3a1bfa0a92a8861e36f0bfe5cce3a84d6cc0bed7788
MD5 a2bad20544b668f5821a93b86e2a6d27
BLAKE2b-256 f61f2b2024922c28bbbc5911d41fb35f76bca9442301ae62b38f82a3ea688613

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56607fa7e8b9856f12979202e1a537d79dad94b61e5fed588efc61984a83a708
MD5 38d354f73c5ca8867f9d29c54513fb93
BLAKE2b-256 66d12de851b2beed5b4ee75d055d61a12eddaf2ee6f1bd0c339e19da7f26d5cd

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 db9f9b5cf9c756da18bff00f50ec7577824abe0267ae56f3dc2519e5e3a1a942
MD5 2721315c5a0cf50c553f68b1204ec66d
BLAKE2b-256 1987961b687091e2e589c00aba18c69df0a1f0bd3ac9404c2a834242f1cb601e

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: digital_rf-2.6.8-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 273.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for digital_rf-2.6.8-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 299db5603fcb2b4a1e718f829771503a228b408d8de2e2f8d43297513a98c480
MD5 c5b765260f9253c113ae2d1432f436df
BLAKE2b-256 905acc97f26a4bf2459c18b59a9cdce36ecee900d8bd0646f8728b3ff821e0fb

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f99ae9cb7026d73a65e428fa1e15e7b66bf731a9cb8680e7cb3a0c0d8952968
MD5 e9ba6527dadd4f9420f96f6bcc9b5b34
BLAKE2b-256 bd38c9217df54d02b153680f7aa0b3ef35f21e9a0ef121a25099ffd149b0528b

See more details on using hashes here.

File details

Details for the file digital_rf-2.6.8-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for digital_rf-2.6.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 288f7ac999bd5b332a5dea0410cb6706ce55bd9409f3c5d5d97e318c056a8bcc
MD5 460167710692fcbf4bac3abc8cb9b91c
BLAKE2b-256 7606f38cdab0166bafdcabb172c237f3ec3ea8e64a7b990d214f8843218d994f

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