compute_band_energy
Compute the integrated spectral energy in a frequency band from a PSD spectrum to detect faults such as bearing defects or broken rotor bars.
Instructions
Compute the integrated spectral energy in a frequency band.
Useful as a generic fault/cavitation indicator — measures the energy concentration around a characteristic frequency in the PSD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| centre_freq_hz | Yes | Centre of the frequency band (Hz) | |
| spectrum_id | No | ID of a stored PSD spectrum. Preferred over raw arrays. | |
| frequencies_hz | No | PSD frequency axis (Hz). Use spectrum_id instead. | |
| psd_values | No | PSD values. Use spectrum_id instead. | |
| bandwidth_hz | No | Total bandwidth for energy integration (Hz) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |