fft
Performs forward FFT on a signal to generate a spectrum sheet with real-unit frequency columns and identifies the peak-amplitude frequency.
Instructions
Forward FFT of a signal; outputs a spectrum sheet.
Uses the X column spacing as the sampling interval, so the Frequency column is in real units (1 / X-unit).
Returns: JSON: spectrum sheet and the dominant (peak-amplitude) frequency
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_book": "<data_book>",
"data_sheet": "<data_sheet>",
"x_col": "<x_col>",
"y_col": "<y_col>"
},
"name": "fft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_book | Yes | ||
| data_sheet | Yes | ||
| x_col | Yes | ||
| y_col | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |