-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
EXAMPLES: Change use of scipy.fftpack
to scipy.fft
#5986
Comments
I agree that it is preferable to use If you want to make a PR for this now, that is great, I just wanted to give a heads up that it would likely have to wait a couple of months before being merged. |
Great! Thank you @grlee77 for the clarification and the prompt response. I'll make a PR so you can consider it in the future. |
Since 1.3.0 was released more than 24 months ago, we aren't "asked" to support it. I would approve a PR that bumped the minimum version requirement of scikit-image as a whole to 1.4
^^^^ |
I submitted a PR on this, just changing examples and setup.py. Would you prefer that I update skimage internal functions too? The detail of files using fftpack is below. Just let me know.
|
Yes that would be good. I think that there is also a TODO in the file
|
Thanks @hmaarrfk, I was just about to link those! @srvanrell, If there is any confusion on those items, let me know and I can help out. I added float32 support to some functions relying on FFTs, but unfortunately numpy.fft only supports double precision, so I still had to use astype. Now that |
Should I completly remove |
yeah, it would be a nice cleanup. It seems only _masked_phase_cross_correlation.p use next_fast_len |
Description
Examples like this band pass or this use of windows are using deprecated
scipy.fftpack
. They could usescipy.fft
module instead. I will kindly make a PR if you consider that is appropiate.The text was updated successfully, but these errors were encountered: