AdaptiveOpticsControl
fft.c File Reference

Fourier Transform. More...

Functions

static int clock_gettime (int clk_id, struct mach_timespec *t)
 
int_fast8_t fft_permut_cli ()
 
int_fast8_t fft_do1dfft_cli ()
 
int_fast8_t fft_do1drfft_cli ()
 
int_fast8_t fft_do2dfft_cli ()
 
int_fast8_t test_fftspeed_cli ()
 
int_fast8_t fft_image_translate_cli ()
 
int_fast8_t fft_correlation_cli ()
 
int_fast8_t init_fft ()
 
int free_fft ()
 
int fft_setNthreads (int nt)
 
int import_wisdom ()
 
int export_wisdom ()
 
int_fast8_t init_fftw_plans (int mode)
 
int_fast8_t init_fftw_plans0 ()
 
int permut (const char *ID_name)
 
int array_index (long size)
 
long FFT_do1dfft (const char *in_name, const char *out_name, int dir)
 
long do1drfft (const char *in_name, const char *out_name)
 
long do1dfft (const char *in_name, const char *out_name)
 
long do1dffti (const char *in_name, const char *out_name)
 
long FFT_do2dfft (const char *in_name, const char *out_name, int dir)
 
long do2dfft (const char *in_name, const char *out_name)
 
long do2dffti (const char *in_name, const char *out_name)
 
int pupfft (const char *ID_name_ampl, const char *ID_name_pha, const char *ID_name_ampl_out, const char *ID_name_pha_out, const char *options)
 
long FFT_do2drfft (const char *in_name, const char *out_name, int dir)
 
long do2drfft (const char *in_name, const char *out_name)
 
long do2drffti (const char *in_name, const char *out_name)
 
long fft_correlation (const char *ID_name1, const char *ID_name2, const char *ID_nameout)
 
int autocorrelation (const char *ID_name, const char *ID_out)
 
int fftczoom (const char *ID_name, const char *ID_out, long factor)
 
int fftzoom (const char *ID_name, const char *ID_out, long factor)
 
int test_fftspeed (int nmax)
 Test FFT speed (fftw) More...
 
long fft_DFT (const char *IDin_name, const char *IDinmask_name, const char *IDout_name, const char *IDoutmask_name, double Zfactor, int dir, long kin)
 
long fft_DFTinsertFPM (const char *pupin_name, const char *fpmz_name, double zfactor, const char *pupout_name)
 
long fft_DFTinsertFPM_re (const char *pupin_name, const char *fpmz_name, double zfactor, const char *pupout_name)
 
int fft_image_translate (const char *ID_name, const char *ID_out, double xtransl, double ytransl)
 

Variables

static int NB_FFTW_THREADS = 2
 
DATA data
 System includes. More...
 

Detailed Description

Fourier Transform.

Wrapper to fftw

Author
O. Guyon
Date
7 Jul 2017
Bug:
No known bugs.

Function Documentation

int array_index ( long  size)
int autocorrelation ( const char *  ID_name,
const char *  ID_out 
)
static int clock_gettime ( int  clk_id,
struct mach_timespec *  t 
)
static
long do1dfft ( const char *  in_name,
const char *  out_name 
)
long do1dffti ( const char *  in_name,
const char *  out_name 
)
long do1drfft ( const char *  in_name,
const char *  out_name 
)
long do2dfft ( const char *  in_name,
const char *  out_name 
)
long do2dffti ( const char *  in_name,
const char *  out_name 
)
long do2drfft ( const char *  in_name,
const char *  out_name 
)
long do2drffti ( const char *  in_name,
const char *  out_name 
)
int export_wisdom ( )
long fft_correlation ( const char *  ID_name1,
const char *  ID_name2,
const char *  ID_nameout 
)
int_fast8_t fft_correlation_cli ( )
long fft_DFT ( const char *  IDin_name,
const char *  IDinmask_name,
const char *  IDout_name,
const char *  IDoutmask_name,
double  Zfactor,
int  dir,
long  kin 
)
long fft_DFTinsertFPM ( const char *  pupin_name,
const char *  fpmz_name,
double  zfactor,
const char *  pupout_name 
)
long fft_DFTinsertFPM_re ( const char *  pupin_name,
const char *  fpmz_name,
double  zfactor,
const char *  pupout_name 
)
long FFT_do1dfft ( const char *  in_name,
const char *  out_name,
int  dir 
)
int_fast8_t fft_do1dfft_cli ( )
int_fast8_t fft_do1drfft_cli ( )
long FFT_do2dfft ( const char *  in_name,
const char *  out_name,
int  dir 
)
int_fast8_t fft_do2dfft_cli ( )
long FFT_do2drfft ( const char *  in_name,
const char *  out_name,
int  dir 
)
int fft_image_translate ( const char *  ID_name,
const char *  ID_out,
double  xtransl,
double  ytransl 
)
int_fast8_t fft_image_translate_cli ( )
int_fast8_t fft_permut_cli ( )
int fft_setNthreads ( int  nt)
int fftczoom ( const char *  ID_name,
const char *  ID_out,
long  factor 
)
int fftzoom ( const char *  ID_name,
const char *  ID_out,
long  factor 
)
int free_fft ( )
int import_wisdom ( )
int_fast8_t init_fft ( )
int_fast8_t init_fftw_plans ( int  mode)
int_fast8_t init_fftw_plans0 ( )
int permut ( const char *  ID_name)
int pupfft ( const char *  ID_name_ampl,
const char *  ID_name_pha,
const char *  ID_name_ampl_out,
const char *  ID_name_pha_out,
const char *  options 
)
int test_fftspeed ( int  nmax)

Test FFT speed (fftw)

int_fast8_t test_fftspeed_cli ( )

Variable Documentation

DATA data

System includes.

External libraries

int NB_FFTW_THREADS = 2
static