sine and cosine transforms?
I'm thinking about adding sine and cosine transforms when I find some time.
The main reason is that scipy.fft
offers these transforms but will fall back to scipy.fftpack
if they are called. I'm not worried about performance but rather about accuracy, which is notoriously bad for fftpack
's real transforms (if the transform sizes are near-prime).
Also, at the moment, existing programs using scipy
that do not switch explicitly to scipy.fft
won't benefit from the new library and still use fftpack
, correct? If pypocketfft
contains fftpack
's full functionality, then maybe it could replace fftpack
entirely (behind scipy.fftpack
's original interface, of course).
@peterbell10, do you think this is a useful plan? Or will it be too tedious to put pypocketfft
behind the fftpack
interface?