pyoculus 0.1.1
|
Classes | |
class | QFM |
Functions | |
rfft1D (f) | |
perform 1D Fourier transform from real space to cosine and sine | |
irfft1D (cos_in, sin_in, nfft_multiplier=1) | |
perform 1D inverse Fourier transform from cosine and sine to real space | |
rfft2D (f, mpol=None, ntor=None) | |
perform 2D Fourier transform from real space to cosine and sine | |
irfft2D (cn, sn, nfft_theta=None, nfft_zeta=None) | |
perform 2D Fourier transform from real space to cosine and sine | |
Variables | |
nax = np.newaxis | |
pyoculus.solvers.qfm.irfft1D | ( | cos_in, | |
sin_in, | |||
nfft_multiplier = 1 ) |
perform 1D inverse Fourier transform from cosine and sine to real space
cos_in | The cosine components. If cos_in is 2D, then the last axis will be the axis along which FFT was computed |
sin_in | The sine components |
nfft_multiplier | The number of output points will be this*(cos_in.shape[-1] - 1) |
pyoculus.solvers.qfm.irfft2D | ( | cn, | |
sn, | |||
nfft_theta = None, | |||
nfft_zeta = None ) |
perform 2D Fourier transform from real space to cosine and sine
cn | the cosine components |
sn | the sine components |
nfft_theta,the | number of theta points on output |
nfft_zeta,the | number of zeta points on output |
pyoculus.solvers.qfm.rfft1D | ( | f | ) |
perform 1D Fourier transform from real space to cosine and sine
f | the data in real space. If f is 2D, then the last axis will be the axis along which FFT is computed |
pyoculus.solvers.qfm.rfft2D | ( | f, | |
mpol = None, | |||
ntor = None ) |
perform 2D Fourier transform from real space to cosine and sine
f | the data in real space. If f is 2D, then the last axis will be the axis along which FFT is computed |
pyoculus.solvers.qfm.nax = np.newaxis |