Skip to main content

Python library for parsing Signal Hound SHR files

Project description

Overview

Provides tools for parsing and handling Signal Hound spectrum sweep and capture (SHR) files. These files are generated by Spike, Signal Hound’s Spectrum Analyzer Software, and contain metadata and several spectrum sweeps.

BSD-3 license, (C) 2025 WiSELab-CMU

Documentation

For API documentation, usage and examples, see the files in the “Documentation” directory. The “.rst” files can be read in any text editor or being converted to HTML or PDF using Sphinx. Examples can be found in the documentation and tests.

Installation

pip install py-shr-parser

Basic Example

This shows how to open an SHR file and load all the sweep data.

from shr_parser import ShrFileParser
with ShrFileParser("foo.shr") as parser:
    sweeps = parser.get_all_sweeps()

The above example is very basic. For more advanced examples, please refer to the Documentation.

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

py_shr_parser-0.0.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

py_shr_parser-0.0.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file py_shr_parser-0.0.0.tar.gz.

File metadata

  • Download URL: py_shr_parser-0.0.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for py_shr_parser-0.0.0.tar.gz
Algorithm Hash digest
SHA256 7233f10b97051e674de6f31ed49f2682d1813a1c9e9e27bae53d45e644f54efc
MD5 e7778bd3b7cab4792d83446c3b371583
BLAKE2b-256 83cac0f5d4a0b35f02bafc95153e0c982d81d70ca07bc65c5a85b9b4ef9c083d

See more details on using hashes here.

File details

Details for the file py_shr_parser-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: py_shr_parser-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for py_shr_parser-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffb183332abb9c7e65ad63d79a1704f90ea17fb6e74ba47133d0441a759fe082
MD5 06a08516b0b96c5c74633c7a04f0115b
BLAKE2b-256 b5a175d6eed5b7c0ab70730b656e9d965825b0fceeeda58f721f9484a50597ba

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