dm_fft
Computes a 2D FFT for an image or ROI, returning mean-subtracted DC, strongest spectral lattice coordinates, and calibrated spatial frequencies/spacings.
Instructions
二维 FFT:返回去均值后的 DC、频谱格点坐标与按两个方向标定换算的空间频率/间距。d_pix 仅为频谱格点半径,不能当作 1/pixel 或晶格间距。
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": "dm_fft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | 像素矩形 [x0, y0, x1, y1],右下边界不包含;必须完整位于图内,不舍入或裁夹;省略则整幅 | |
| top_n | No | 返回最强频谱格点数,默认 12;不等同独立衍射斑点识别 | |
| image_id | No | 图像 id(来自 dm_datasets),或 "front" 表示前台窗口 |