Skip to main content

A simple GUI for monitoring waveforms.

Project description

Wave Monitor

snapshot

A simple GUI for monitoring waveforms. It plots waveforms with PyQtGraph in a separate process.

The WaveMonitor class is the primary Python API.

In the GUI, right click to show the menu. Keyboard shortcuts are also supported.

Also see the docs

Installation

pip install WaveMonitor

Usage

from wave_monitor import WaveMonitor
import numpy as np

monitor = WaveMonitor()
monitor.autoscale()
monitor.clear()

t = np.linspace(0, 1, 1_000_001)  # 1m pts ~= 1ms for 1GSa/s.
n = 20
i_waves = [np.cos(2 * np.pi * f * t) for f in range(1, n + 1)]
q_waves = [np.sin(2 * np.pi * f * t) for f in range(1, n + 1)]

for i, (i_wave, q_wave) in enumerate(zip(i_waves, q_waves)):
    monitor.add_wfm(f"wave_{i}", t, [i_wave, q_wave])
monitor.autoscale()

monitor.add_wfm("wave_1", t, [i_waves[-1], q_waves[-1]])  # Replaces previous wfm.
monitor.add_note("wave_1", "re-writen")

monitor.remove_wfm("wave_10")

Acknowledge

This project is derived from WaveViewer.

The application icon was generated using OpenAI's DALL·E model and is released into the public domain (CC0).

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

wavemonitor-0.4.0.tar.gz (258.2 kB view details)

Uploaded Source

Built Distribution

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

wavemonitor-0.4.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file wavemonitor-0.4.0.tar.gz.

File metadata

  • Download URL: wavemonitor-0.4.0.tar.gz
  • Upload date:
  • Size: 258.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavemonitor-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b298a77d09fef8a94d59f91ba4f0d9a3aa15d3c76bb27edd3b00a387f6646877
MD5 ab1261c8691e1917aaa8d87a45530904
BLAKE2b-256 47ab441c2bef3e0d1f28db5059c28afdc0438fc97e5825e8c257a6f8e5fc44e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for wavemonitor-0.4.0.tar.gz:

Publisher: python-publish.yml on Qiujv/WaveMonitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wavemonitor-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wavemonitor-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavemonitor-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52585375ef59cd0eac49901a005952869f7b7f085258a8b5085e5a97d7aa312f
MD5 165dbf7647a9b499cdc839e8891dec0a
BLAKE2b-256 eab8460bcbd2dba75aaae139b4e99e376ee294af01ea814395cd60a06406982c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wavemonitor-0.4.0-py3-none-any.whl:

Publisher: python-publish.yml on Qiujv/WaveMonitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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