Whatâs the reasonability of np.fft.rfftfreq returning frequencies only up
to Nyquist, rather than for the full sample rate?
The answer to the question that you asked is that np.fft.rfft() only
computes values for frequencies only up to Nyquist, so np.fft.rfftfreq()
must give you the frequencies to match. I'm not sure if there is another
misunderstanding lurking that needs to be clarified.
--
Robert Kern