On Wed, Aug 31, 2016 at 1:14 PM, Matti Viljamaa <mviljamaa@kapsi.fi> wrote:

>

> 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

>

> 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