compute_power_spectral_density
Apply Welch's method to compute power spectral density from motor current signals for fault detection and trend analysis.
Instructions
Compute Power Spectral Density using Welch's method.
Better for noisy signals and trend analysis than a raw FFT. Returns a spectrum_id plus compact summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal_id | No | ID of a stored signal. Preferred over raw array. | |
| signal | No | Time-domain signal array. Use signal_id instead. | |
| sampling_freq_hz | No | Sampling frequency in Hz. Auto-resolved when using signal_id. | |
| nperseg | No | FFT segment length. Omit for auto | |
| max_freq_hz | No | Maximum frequency to return (Hz) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |