2D Fourier transform
singularis_fft2Compute 2D fast Fourier transforms or inverses for real arrays, enabling image spectra, 2D convolution, and field filtering. Returns real/imag pairs with a Parseval energy check.
Instructions
2D fast Fourier transform (or inverse) of a real 2D field of any shape: image spectra, 2D convolution, field filtering. Inputs: x inline or path; inverse flag. Returns the transform as a [real, imag] pair plus a Parseval energy check. Cost scales with N log N. (singularis_fft also accepts a 2D field; this tool is the explicit 2D entry.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "singularis_fft2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| im | No | ||
| path | No | ||
| inverse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||