NFFT Logo 3.0 API Reference
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

mpolar_fft_test.c File Reference

NFFT-based polar FFT and inverse on modified polar grid. More...

#include <math.h>
#include <stdlib.h>
#include "util.h"
#include "nfft3.h"

Go to the source code of this file.

Functions

int mpolar_grid (int T, int R, double *x, double *w)
 Generates the points $x_{t,j}$ with weights $w_{t,j}$ for the modified polar grid with $T$ angles and $R$ offsets.
int mpolar_dft (fftw_complex *f_hat, int NN, fftw_complex *f, int T, int R, int m)
 discrete mpolar FFT
int mpolar_fft (fftw_complex *f_hat, int NN, fftw_complex *f, int T, int R, int m)
 NFFT-based mpolar FFT.
int inverse_mpolar_fft (fftw_complex *f, int T, int R, fftw_complex *f_hat, int NN, int max_i, int m)
 inverse NFFT-based mpolar FFT
int comparison_fft (FILE *fp, int N, int T, int R)
 Comparison of the FFTW, mpolar FFT, and inverse mpolar FFT.
int main (int argc, char **argv)
 test program for various parameters

Variables

double GLOBAL_elapsed_time


Detailed Description

NFFT-based polar FFT and inverse on modified polar grid.

Computes the NFFT-based polar FFT and its inverse on a modified polar grid for various parameters.

Author:
Markus Fenn
Date:
2006

Definition in file mpolar_fft_test.c.


Generated on 1 Nov 2006 by Doxygen 1.4.4