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-1.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-1.0.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_shr_parser-1.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fde98a13479af7c8376b85c2e1a7f11f5dc1dec22def8c130f331a801165b82
MD5 1508c32a4e04354e15ce0aa8268629fb
BLAKE2b-256 98743a180fa3bba2d0369af0939477d194b988661a87d44b6be70e4fa60bf220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_shr_parser-1.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9126c328a52729eb7627a3cadd5be318e4b68704c079ef9b0a55f329526b668
MD5 f8b9715c289f67843d723ee51787250d
BLAKE2b-256 262a4dd090cf239d8030331a6cb1012497235f294d1041dd77779daa8fad113a

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