cupy.fft.fftfreq

cupy.fft.fftfreq(n, d=1.0)[source]

Return the FFT sample frequencies.

Parameters:
  • n (int) – Window length.
  • d (scalar) – Sample spacing.
Returns:

Array of length n containing the sample frequencies.

Return type:

cupy.ndarray