AdaptiveOpticsControl
OptSystProp.h File Reference

Go to the source code of this file.

Data Structures

struct  DM_SIM
 
struct  ASPHSURFM
 
struct  ASPHSURFR
 
struct  FOCMASK
 
struct  OPTSYST
 

Functions

int_fast8_t init_OptSystProp ()
 
int OptSystProp_propagateCube (OPTSYST *optsyst, long index, const char *IDin_amp_name, const char *IDin_pha_name, const char *IDout_amp_name, const char *IDout_pha_name, double zprop, int sharedmem)
 
int OptSystProp_run (OPTSYST *optsyst, long index, long elemstart, long elemend, const char *savedir, int sharedmem)
 

Function Documentation

int_fast8_t init_OptSystProp ( )
int OptSystProp_propagateCube ( OPTSYST optsyst,
long  index,
const char *  IDin_amp_name,
const char *  IDin_pha_name,
const char *  IDout_amp_name,
const char *  IDout_pha_name,
double  zprop,
int  sharedmem 
)
int OptSystProp_run ( OPTSYST optsyst,
long  index,
long  elemstart,
long  elemend,
const char *  savedir,
int  sharedmem 
)
Parameters
[in]indexsystem index (usually 0)
[in]elemstartstarting element index
[in]elemendending element index
[in]savedirdirectory to which image results are saved
[in]sharedmem1 if WF* arrays should be kept in memory after use

*optsyst.elemkeepmem 1 if element complex amplitude should be kept in memory after use

discard element memory after used