![]() |
NFFT 3.6.0
|

Functions | |
| static int | polar_grid (int T, int S, NFFT_R *x, NFFT_R *w) |
| Generates the points | |
| static int | polar_dft (NFFT_C *f_hat, int NN, NFFT_C *f, int T, int S, int m) |
| discrete polar FFT | |
| static int | polar_fft (NFFT_C *f_hat, int NN, NFFT_C *f, int T, int S, int m) |
| NFFT-based polar FFT. | |
| static int | inverse_polar_fft (NFFT_C *f, int T, int S, NFFT_C *f_hat, int NN, int max_i, int m) |
| inverse NFFT-based polar FFT | |
| int | main (int argc, char **argv) |
| test program for various parameters | |
|
static |
Generates the points 



The nodes of the polar grid lie on concentric circles around the origin. They are given for 


![\[
x_{t,j} := r_j\left(\cos\theta_t, \sin\theta_t\right)^{\top}\,.
\]](form_296.png)
The total number of nodes is 
Weights are introduced to compensate for local sampling density variations. For every point in the sampling set, we associate a small surrounding area. In case of the polar grid, we choose small ring segments. The area of such a ring segment around 

![\[
w_{t,j}
= \frac{\pi}{2TR^2}\left(\left(|j|+\frac{1}{2}\right)^2-
\left(|j|-\frac{1}{2}\right)^2\right)
= \frac{\pi |j| }{TR^2}\, .
\]](form_299.png)
The area of the small circle of radius 



Definition at line 73 of file polar_fft_test.c.
Referenced by inverse_polar_fft(), main(), polar_dft(), and polar_fft().
|
static |
discrete polar FFT
Definition at line 95 of file polar_fft_test.c.
References FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, polar_grid(), PRE_PHI_HUT, and PRE_PSI.
Referenced by main().
|
static |
NFFT-based polar FFT.
Definition at line 152 of file polar_fft_test.c.
References FFT_OUT_OF_PLACE, FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, polar_grid(), PRE_FULL_PSI, PRE_LIN_PSI, PRE_PHI_HUT, and PRE_PSI.
Referenced by main().
|
static |
inverse NFFT-based polar FFT
Definition at line 220 of file polar_fft_test.c.
References CGNR, FFT_OUT_OF_PLACE, FFTW_INIT, MALLOC_F, MALLOC_F_HAT, MALLOC_X, max_i(), polar_grid(), PRE_FULL_PSI, PRE_LIN_PSI, PRE_PHI_HUT, PRE_PSI, PRECOMPUTE_DAMP, and PRECOMPUTE_WEIGHT.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
test program for various parameters
Definition at line 323 of file polar_fft_test.c.
References inverse_polar_fft(), max_i(), polar_dft(), polar_fft(), and polar_grid().