pyoculus.solvers.qfm.irfft2D
- pyoculus.solvers.qfm.irfft2D(cn, sn, nfft_theta=None, nfft_phi=None)
Perform 2D Fourier transform from real space to cosine and sine.
- Parameters:
cn (np.array) – The cosine components.
sn (np.array) – The sine components.
nfft_theta (int) – The number of theta points on output. Defaults to (cn.shape[0] - 1)*4.
nfft_phi (int) – The number of zeta points on output. Defaults to ((cn.shape[1] - 1) // 2)*4.