NFFT Logo 3.2.3
Functions | Variables
mpolar_fft_test.c File Reference

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

#include "config.h"
#include <math.h>
#include <stdlib.h>
#include "nfft3util.h"
#include "nfft3.h"
#include "infft.h"

Go to the source code of this file.

Functions

static 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.
static int mpolar_dft (fftw_complex *f_hat, int NN, fftw_complex *f, int T, int R, int m)
 discrete mpolar FFT
static int mpolar_fft (fftw_complex *f_hat, int NN, fftw_complex *f, int T, int R, int m)
 NFFT-based mpolar FFT.
static 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
static 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 Tue Apr 30 2013 by Doxygen 1.8.1