cupy.fft.rfftfreq#

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

Return the FFT sample frequencies for real input.

Parameters:
  • n (int) – Window length.

  • d (scalar) – Sample spacing.

Returns:

Array of length n//2+1 containing the sample frequencies.

Return type:

cupy.ndarray