Created with ❤️ by Machine Learning & Simulation.
Using the conventions of numpy.fft: Normalization by 1/N on the inverse transform, ordering starts at zero mode, then positive modes in ascending order, then negative modes in ascending order (starting at the "most negative") N is always the number of dof
Function | Fourier Coefficients |
---|---|
Example for |
|
spatial grid | |
wavenumber grid using "ij" convention | |
template |