New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC: Tweaks to fft documentation #10371
Conversation
Ok, https://github.com/scipy/scipy/blob/master/scipy/fft/_basic.py should be updated to mention that it uses Bluesteins's algorithm now? Are the speed benefits of fft < rfft < dct still true? |
|
The 13× speedup example on https://13717-1460385-gh.circle-artifacts.com/0/html-scipyorg/generated/scipy.fft.next_fast_len.html is no longer correct, right? It also says
"n-smooth" applies to any n, of course, but "regular numbers" and "Hamming numbers" only applies to 5-smooth. https://en.wikipedia.org/wiki/Regular_number |
I redid the timings with pypocketfft. Fftpack was something like 600x slower and that was for a much smaller transform. |
Also the references are formatted strangely on https://13717-1460385-gh.circle-artifacts.com/0/html-scipyorg/generated/scipy.fft.fft.html#id4 but I think the markup isn't to blame? On https://13717-1460385-gh.circle-artifacts.com/0/html-scipyorg/generated/scipy.fft.rfftfreq.html |
I don't mean pocketfft vs fftpack, I mean pocketfft with a prime size vs a power of 2 vs a n-smooth size, as in the example text |
The
Yes, that's what I meant as well. fftpack's I retimed everything in the example using |
@endolith can you see if this addresses your concerns? |
Well the description of speeds is still incorrect, right? Can that be updated? The Examples section in https://13717-1460385-gh.circle-artifacts.com/0/html-scipyorg/generated/scipy.fft.next_fast_len.html ? |
It's already up to date. Compare it to the fftpack docs: |
Oh, ok. |
This fixes the typos pointed out by @endolith in #10238 and updates the
scipy.fftpack
documentation to link toscipy.fft.rfft
instead of the NumPy version.