waveform-analysis

Analyze CSV waveform data to compute RMS, THD, and harmonic metrics.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/lgili/skillex --skill waveform-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: waveform-analysis
Source: https://github.com/lgili/skillex/tree/main/skills/waveform-analysis
Command: npx skills add https://github.com/lgili/skillex --skill waveform-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides automated analysis of simulation waveforms to compute RMS, DC, AC RMS, peak, THD, and harmonic content, enabling quick assessment of power-quality metrics and steady-state convergence.

Core Features & Use Cases

  • RMS/DC/AC RMS/peak calculations over steady-state windows.
  • FFT-based harmonic decomposition and THD calculation.
  • Generate a structured report of harmonics and power-quality metrics for electronics simulations.
  • Use cases include validating converter outputs, grid-tied inverters, and ripple analysis in power electronics.

Quick Start

Run the waveform analysis on a CSV waveform file with the target channel and a known fundamental frequency to produce RMS, THD, and harmonic reports.

Frequently Asked Questions about waveform-analysis

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

FAQPage Schema
How do I calculate THD and harmonics from a CSV waveform?

To calculate THD from a CSV waveform, you specify the file, target channel, and fundamental frequency. The analysis applies FFT-based decomposition to identify harmonics and report total harmonic distortion metrics.

What is steady-state detection in waveform analysis?

Steady-state detection identifies the stable region of a signal to ensure accurate power-quality calculations. By isolating steady-state windows, the analysis reliably computes RMS, DC, AC RMS, peak, and crest factor metrics.

Can I analyze power-quality metrics for grid-tied inverter simulations?

Yes, you can analyze power-quality metrics for grid-tied inverter simulations. The analysis computes RMS, THD, and harmonic content from simulation waveforms, enabling validation of converter outputs and ripple in power electronics.

Does FFT harmonic analysis require windowing for switching waveforms?

FFT harmonic analysis applies windowing when necessary for switching waveforms to reduce spectral leakage. This ensures accurate identification of the fundamental and harmonics before calculating THD and power-quality metrics.

What outputs do I get from power electronics waveform analysis?

Outputs from power electronics waveform analysis include a structured report and optional JSON file. These detail the computed RMS, DC, AC RMS, peak, crest factor, THD, and harmonic decomposition results.