compute_fft
Perform frequency domain analysis on oscilloscope signals using Fast Fourier Transform to identify frequency components and spectral characteristics.
Instructions
Compute FFT (Fast Fourier Transform) for frequency domain analysis.
Args: channel: Channel to analyze. window: Window function to apply.
Returns: Dictionary containing frequency bins and magnitude spectrum.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channel | Yes | ||
window | No | hann |
Input Schema (JSON Schema)
{
"properties": {
"channel": {
"enum": [
"A",
"B",
"C",
"D"
],
"type": "string"
},
"window": {
"default": "hann",
"enum": [
"hann",
"hamming",
"blackman",
"rectangular"
],
"type": "string"
}
},
"required": [
"channel"
],
"type": "object"
}