Compute Thd
compute_thdCompute total harmonic distortion from an LTspice raw waveform by specifying the signal and fundamental frequency, returning THD results for simulation analysis.
Instructions
Total harmonic distortion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | Yes | ||
| raw_path | Yes | ||
| fundamental_hz | Yes | ||
| workspace_root | No | Optional per-call workspace root override. |