pywayne-plot

Visualize spectrograms for time-frequency analysis with configurable frequency units and normalization.

8|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-plot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pywayne-plot
Source: https://github.com/wangyendt/wayne-skills/tree/main/pywayne/plot
Command: npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-plot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool streamlines creating high-quality spectrograms for time-frequency analysis of signals such as IMU data, physiological signals, vibration, and audio, reducing manual plotting effort and enabling rapid insight.

Core Features & Use Cases

  • High-quality rendering: supports frequency unit conversions (Hz/bpm/kHz), multiple scale modes (dB/linear), and robust normalization options (global/local/none).
  • Flexible signal support: tailored for IMU (accelerometer/gyroscope), PPG/ECG/respiration, vibration diagnostics, and audio processing workflows.
  • Python API & customization: allows registering custom projections, using MATLAB-style parula colormap, and returning spectrogram arrays for further analysis.

Quick Start

Run a basic spectrogram visualization by passing your signal data to the library and invoking the plotting function to render the time-frequency plot.

Frequently Asked Questions about pywayne-plot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plot a spectrogram for IMU accelerometer and gyroscope data in Python?

To plot a spectrogram for IMU data, pass your accelerometer or gyroscope signal array to the Python API plotting function to render the time-frequency visualization directly.

Can I use the MATLAB parula colormap for spectrogram visualization?

Yes, you can use the MATLAB-style parula colormap for spectrogram visualization. The library includes built-in support for parula rendering alongside configurable scale modes.

What is the best way to convert spectrogram frequency units to bpm for physiological signal analysis?

The best way to convert spectrogram frequency units to bpm is using the built-in frequency unit conversion feature. It natively supports Hz, bpm, and kHz units tailored for physiological signals like PPG and ECG.

Does this spectrogram plotting tool support custom projections and array outputs?

Yes, the spectrogram plotting tool supports custom projections and array outputs. The Python API allows you to register custom projections and return spectrogram arrays for downstream analysis.

When should I use global versus local normalization for time-frequency analysis?

Use global normalization when comparing frequency magnitudes across the entire signal duration, and local normalization to highlight relative variations within specific time windows. A none option is also available for raw representation.