find_spectrum_peaks
Detect and sort peaks in a frequency spectrum by amplitude, returning frequency, amplitude, and prominence values. Supports filtering by height, prominence, distance, and frequency range.
Instructions
Detect peaks in a frequency spectrum.
Returns a list of peaks sorted by amplitude (highest first) with frequency, amplitude, and prominence values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spectrum_id | No | ID of a stored spectrum (from compute_spectrum or compute_power_spectral_density). Preferred over raw arrays. | |
| frequencies_hz | No | Frequency axis from spectrum/PSD. Use spectrum_id instead. | |
| amplitudes | No | Amplitude or PSD values. Use spectrum_id instead. | |
| min_height | No | Minimum peak height | |
| min_prominence | No | Minimum peak prominence | |
| min_distance_hz | No | Min distance between peaks in Hz | |
| freq_low_hz | No | Lower frequency bound for search | |
| freq_high_hz | No | Upper frequency bound for search | |
| max_peaks | No | Maximum number of peaks to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |