cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
fft.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __attribute__ ((constructor)) libinit_fft()
 Initialize module. More...
 
errno_t import_wisdom ()
 
int fft_setoffsets (long o1, long o2)
 
errno_t init_fftw_plans (int mode)
 
errno_t init_fftw_plans0 ()
 
errno_t export_wisdom ()
 
int permut (const char *ID_name)
 
long do1dfft (const char *in_name, const char *out_name)
 
long do1drfft (const char *in_name, const char *out_name)
 
long do1dffti (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)
 
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 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 fftzoom (const char *ID_name, const char *ID_out, long factor)
 
int fftczoom (const char *ID_name, const char *ID_out, long factor)
 
int test_fftspeed (int nmax)
 Test FFT speed (fftw) More...
 
imageID fft_DFT (const char *IDin_name, const char *IDinmask_name, const char *IDout_name, const char *IDoutmask_name, double Zfactor, int dir, long kin)
 
imageID fft_DFTinsertFPM (const char *pupin_name, const char *fpmz_name, double zfactor, const char *pupout_name)
 Use DFT to insert Focal Plane Mask. More...
 
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)
 

Function Documentation

◆ __attribute__()

void __attribute__ ( (constructor)  )

Initialize module.

◆ autocorrelation()

int autocorrelation ( const char *  ID_name,
const char *  ID_out 
)

◆ do1dfft()

long do1dfft ( const char *  in_name,
const char *  out_name 
)

◆ do1dffti()

long do1dffti ( const char *  in_name,
const char *  out_name 
)

◆ do1drfft()

long do1drfft ( const char *  in_name,
const char *  out_name 
)

◆ do2dfft()

long do2dfft ( const char *  in_name,
const char *  out_name 
)

◆ do2dffti()

long do2dffti ( const char *  in_name,
const char *  out_name 
)

◆ do2drfft()

long do2drfft ( const char *  in_name,
const char *  out_name 
)

◆ do2drffti()

long do2drffti ( const char *  in_name,
const char *  out_name 
)

◆ export_wisdom()

errno_t export_wisdom ( )

◆ fft_correlation()

long fft_correlation ( const char *  ID_name1,
const char *  ID_name2,
const char *  ID_nameout 
)

◆ fft_DFT()

imageID fft_DFT ( const char *  IDin_name,
const char *  IDinmask_name,
const char *  IDout_name,
const char *  IDoutmask_name,
double  Zfactor,
int  dir,
long  kin 
)

◆ fft_DFTinsertFPM()

imageID fft_DFTinsertFPM ( const char *  pupin_name,
const char *  fpmz_name,
double  zfactor,
const char *  pupout_name 
)

Use DFT to insert Focal Plane Mask.

Pupil convolution by complex focal plane mask of limited support typically used with fpmz = zoomed copy of 1-fpm

High resolution focal plane mask using DFT

Forces computation over pixels >0.5 in _DFTmask00 if it exists

Warning
This internal test could crash the process as multiple write operations to the same filename may occurr: leave option OFF for production

◆ fft_DFTinsertFPM_re()

long fft_DFTinsertFPM_re ( const char *  pupin_name,
const char *  fpmz_name,
double  zfactor,
const char *  pupout_name 
)

◆ fft_image_translate()

int fft_image_translate ( const char *  ID_name,
const char *  ID_out,
double  xtransl,
double  ytransl 
)

◆ fft_setoffsets()

int fft_setoffsets ( long  o1,
long  o2 
)

◆ fftczoom()

int fftczoom ( const char *  ID_name,
const char *  ID_out,
long  factor 
)

◆ fftzoom()

int fftzoom ( const char *  ID_name,
const char *  ID_out,
long  factor 
)

◆ import_wisdom()

errno_t import_wisdom ( )

◆ init_fftw_plans()

errno_t init_fftw_plans ( int  mode)

◆ init_fftw_plans0()

errno_t init_fftw_plans0 ( )

◆ permut()

int permut ( const char *  ID_name)

◆ pupfft()

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 
)

◆ test_fftspeed()

int test_fftspeed ( int  nmax)

Test FFT speed (fftw)