Python interface cleanup?
I think it might be convenient to:
- merge
fftn
andifftn
into one function (maybec2c
orcomplex_FFT
?) - provide
r2c
andc2r
functions instead ofrfftn
andirfftn
. They would have a direction flag and could therefore also do the job ofnumpy
'shfft
andihfft
. - maybe merge
rfft_scipy
andirfft_scipy
in an analogous fashion (and replacescipy
byrfftpack
, which expresses more clearly what the function does).
This would make the interface code smaller, and I think it would present the underlying symmetries of the transforms much better.
@peterbell10, what do you think?