-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Closed
Labels
Description
Ref: scipy/scipy#10569
The s parameter for nd-fft functions is documented as being a "sequence of ints", however it is also possible to supply None in any of the elements and the corresponding default value is used. e.g.
import numpy as np
x = np.arange(10)
assert np.fft.fftn(x, s=(None,)).shape == 10This is a consequence of numpy using the 1d fft internally
Lines 647 to 648 in ee309d9
| for ii in itl: | |
| a = function(a, n=s[ii], axis=axes[ii], norm=norm) |
Is this behaviour intentional? If so then it doesn't seem to be documented anywhere that I could see.
Reactions are currently unavailable