fft_freq() returns the frequency of each entry of a length-n
transform from fft_c2c(), in cycles per unit of the sample spacing d:
0, 1, ..., ceiling(n / 2) - 1, -floor(n / 2), ..., -1, divided by
d * n. fft_rfreq() returns the frequencies of the n %/% 2 + 1
entries of fft_r2c(): 0, 1, ..., n %/% 2, divided by d * n. They
are SciPy's fftfreq() and rfftfreq().
See also
Other helpers:
fft_next_len(),
fft_shift()