jakevdp / nfft

Lightweight non-uniform Fast Fourier Transform in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in the documentation of ndft_adjoint and nfft_adjoint

algorithmx opened this issue · comments

\hat{f}_k = \sum_{0 \le j < N} f_j \exp(2 \pi i k x_j)

Signature: nfft.nfft_adjoint(x, f, N, sigma=3, tol=1e-08, m=None, kernel='gaussian', use_fft=True, truncated=True)
Docstring:
Compute the adjoint nonuniform fast Fourier transform

\hat{f}k = \sum{0 \le j < N} f_j \exp(2 \pi i k x_j)
SHOULD BE
\hat{f}k = \sum{0 \le j < M} f_j \exp(2 \pi i k x_j) # where len(x)==M

where k = range(-N/2, N/2)