math.fft
Compute the discrete Fourier transform of real-valued sample strings and return each bin's index, magnitude, and phase in radians with float64 precision.
Instructions
실수 샘플의 이산 푸리에 변환(DFT)을 numpy.fft 로 계산한다. samples 는 2개 이상 65536개 이하의 Decimal 문자열 리스트. 각 bin 은 k, magnitude, phase_rad 를 담으며 float64 계산에 유효숫자 12자리이고 1/N 정규화는 하지 않는다. k 는 주파수가 아니라 인덱스이므로 Hz 는 k * 샘플링주파수 / N 으로 직접 계산한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| bins | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) |