TensorPlay
API symbolsfft
Copy
View MarkdownDownload .md

tensorplay.fft.fftfreq

tensorplay.fft.fftfreq(n, d=1.0, *, dtype=<DType.float32: 8>, device=None)[source]

DFT sample frequencies (cycles/unit): [0, 1, ..., n/2-1, -n/2, ..., -1] / (n*d).

Parameters:
  • n (int) – window length

  • d (float, optional) – sample spacing. Default: 1.0

  • device (dtype /) – forwarded to the factory ops. Default: float32/CPU

Ask DeepWiki