This PR includes two additional Python routines to do Fourier transforms and inverse Fourier transforms in SPEC formalism. Using numpy.fft package, we can indeed reconstruct the $\cos(m\theta-n\phi)$ and $\sin(m\theta-n\phi)$ Fourier series after some postprocessing.
I also started including unit tests - which should be extended to all Python routines eventually.
Hi!
This PR includes two additional Python routines to do Fourier transforms and inverse Fourier transforms in SPEC formalism. Using
numpy.fft
package, we can indeed reconstruct the $\cos(m\theta-n\phi)$ and $\sin(m\theta-n\phi)$ Fourier series after some postprocessing.I also started including unit tests - which should be extended to all Python routines eventually.