AdaptiveOpticsControl
OptSystProp.c File Reference

Optical system propagation. More...

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)
 

Variables

DATA data
 System includes. More...
 

Detailed Description

Optical system propagation.

Propagate beam through optical systsm

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

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

Variable Documentation

DATA data

System includes.

External libraries