mlx.core.fft.fftfreq

目錄

mlx.core.fft.fftfreq#

fftfreq(n: int, d: float = 1.0, stream: Stream | mlx.core.ThreadLocalStream | Device | None = None) array#

Return the discrete Fourier Transform sample frequencies.

參數:
  • n (int) -- Window length.

  • d (float, optional) -- Sample spacing. The default is 1.0.

回傳值:

The sample frequencies as a one-dimensional array of type float32.

回傳值型別:

array