pyoculus.solvers.qfm.irfft1D

pyoculus.solvers.qfm.irfft1D(cos_in, sin_in, nfft_multiplier=1)

Perform 1D inverse Fourier transform from cosine and sine to real space.

Parameters:
  • cos_in (np.array) – The cosine components. If cos_in is 2D, then the last axis will be the axis along which FFT was computed.

  • sin_in (np.array) – The sine components.

  • nfft_multiplier (int, optional) – The number of output points will be this*(cos_in.shape[-1] - 1). Defaults to 1.

Returns:

The function value in real space.

Return type:

np.array