AdaptiveOpticsControl
|
DM control. More...
Functions | |
int | clock_gettime (int clk_id, struct mach_timespec *t) |
int_fast8_t | AOloopControl_DM_CombineChannels_cli () |
int_fast8_t | AOloopControl_DM_dmdispcomboff_cli () |
int_fast8_t | AOloopControl_DM_dmtrigoff_cli () |
int_fast8_t | AOloopControl_DM_dmdispcombstatus_cli () |
int_fast8_t | AOloopControl_DM_chan_setgain_cli () |
int_fast8_t | AOloopControl_DM_setvoltON_cli () |
int_fast8_t | AOloopControl_DM_setvoltOFF_cli () |
int_fast8_t | AOloopControl_DM_setMAXVOLT_cli () |
int_fast8_t | AOloopControl_DM_setDClevel_cli () |
int_fast8_t | AOloopControl_DM_setTrigMode_cli () |
int_fast8_t | AOloopControl_DM_setTrigChan_cli () |
int_fast8_t | AOloopControl_DM_setTrigSem_cli () |
int_fast8_t | AOloopControl_DM_dmturb_cli () |
int_fast8_t | AOloopControl_DM_dmturb2im_cli () |
int_fast8_t | AOloopControl_DM_dmturboff_cli () |
int_fast8_t | AOloopControl_DM_dmturb_wspeed_cli () |
int_fast8_t | AOloopControl_DM_dmturb_ampl_cli () |
int_fast8_t | AOloopControl_DM_dmturb_LOcoeff_cli () |
int_fast8_t | AOloopControl_DM_dmturb_tint_cli () |
int_fast8_t | AOloopControl_mkDM_TT_circle_cli () |
int_fast8_t | AOloopControl_DM_mkAstroGrid_seq_cli () |
int | init_AOloopControl_DM () |
static struct timespec | time_diff (struct timespec start, struct timespec end) |
static int | make_master_turbulence_screen_local (const char *ID_name1, const char *ID_name2, long size, float outerscale, float innerscale) |
static int | AOloopControl_DM_createconf () |
static int | AOloopControl_DM_loadconf () |
static int | AOloopControl_DM_unloadconf () |
int | AOloopControl_DM_disp2V (long DMindex) |
int | AOloopControl_DM_CombineChannels (long DMindex, long xsize, long ysize, int NBchannel, int AveMode, int dm2dm_mode, const char *dm2dm_DMmodes, const char *dm2dm_outdisp, int wfsrefmode, const char *wfsref_WFSRespMat, const char *wfsref_out, int voltmode, const char *IDvolt_name, float DClevel, float maxvolt) |
int | AOloopControl_DM_dmdispcomboff (long DMindex) |
int | AOloopControl_DM_dmtrigoff (long DMindex) |
int | AOloopControl_printDMconf () |
int | AOloopControl_DM_dmdispcombstatus (long DMindex) |
int | AOloopControl_DM_chan_setgain (long DMindex, int ch, float gain) |
int | AOloopControl_DM_setvoltON (long DMindex) |
int | AOloopControl_DM_setvoltOFF (long DMindex) |
int | AOloopControl_DM_setMAXVOLT (long DMindex, float maxvolt) |
int | AOloopControl_DM_setDClevel (long DMindex, float DClevel) |
int | AOloopControl_DM_setTrigMode (long DMindex, int mode) |
int | AOloopControl_DM_setTrigChan (long DMindex, int chan) |
int | AOloopControl_DM_setTrigSem (long DMindex, int sem) |
int_fast8_t | AOloopControl_printDMturbconf () |
int | AOloopControl_DMturb_createconf () |
int | AOloopControl_DMturb_loadconf (long DMindex) |
int | AOloopControl_DM_dmturboff (long DMindex) |
int | AOloopControl_DM_dmturb_wspeed (long DMindex, double wspeed) |
int | AOloopControl_DM_dmturb_ampl (long DMindex, double ampl) |
int | AOloopControl_DM_dmturb_LOcoeff (long DMindex, double LOcoeff) |
int | AOloopControl_DM_dmturb_tint (long DMindex, long tint) |
int | AOloopControl_DM_dmturb_printstatus (long DMindex) |
int | AOloopControl_DM_dmturb (long DMindex, int mode, const char *IDout_name, long NBsamples) |
long | AOloopControl_mkDM_TT_circle (char *IDoutname, long DMindex, long NBpts, float ampl) |
long | AOloopControl_DM_mkAstroGrid_seq (char *IDoutname, long DMindex, int XYmode, int bin, long NBcycle) |
Variables | |
DATA | data |
int | wcol |
int | wrow |
struct timespec | semwaitts |
long | NB_DMindex = 9 |
AOLOOPCONTROL_DM_DISPCOMB_CONF * | dmdispcombconf |
int | dmdispcomb_loaded = 0 |
int | SMfd |
AOLOOPCONTROL_DMTURBCONF * | dmturbconf |
int | dmturb_loaded = 0 |
int | SMturbfd |
DM control.
To be used for AOloopControl module
int AOloopControl_DM_chan_setgain | ( | long | DMindex, |
int | ch, | ||
float | gain | ||
) |
int_fast8_t AOloopControl_DM_chan_setgain_cli | ( | ) |
int AOloopControl_DM_CombineChannels | ( | long | DMindex, |
long | xsize, | ||
long | ysize, | ||
int | NBchannel, | ||
int | AveMode, | ||
int | dm2dm_mode, | ||
const char * | dm2dm_DMmodes, | ||
const char * | dm2dm_outdisp, | ||
int | wfsrefmode, | ||
const char * | wfsref_WFSRespMat, | ||
const char * | wfsref_out, | ||
int | voltmode, | ||
const char * | IDvolt_name, | ||
float | DClevel, | ||
float | maxvolt | ||
) |
int_fast8_t AOloopControl_DM_CombineChannels_cli | ( | ) |
|
static |
int AOloopControl_DM_disp2V | ( | long | DMindex | ) |
int AOloopControl_DM_dmdispcomboff | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_dmdispcomboff_cli | ( | ) |
int AOloopControl_DM_dmdispcombstatus | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_dmdispcombstatus_cli | ( | ) |
int AOloopControl_DM_dmtrigoff | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_dmtrigoff_cli | ( | ) |
int AOloopControl_DM_dmturb | ( | long | DMindex, |
int | mode, | ||
const char * | IDout_name, | ||
long | NBsamples | ||
) |
int_fast8_t AOloopControl_DM_dmturb2im_cli | ( | ) |
int AOloopControl_DM_dmturb_ampl | ( | long | DMindex, |
double | ampl | ||
) |
int_fast8_t AOloopControl_DM_dmturb_ampl_cli | ( | ) |
int_fast8_t AOloopControl_DM_dmturb_cli | ( | ) |
int AOloopControl_DM_dmturb_LOcoeff | ( | long | DMindex, |
double | LOcoeff | ||
) |
int_fast8_t AOloopControl_DM_dmturb_LOcoeff_cli | ( | ) |
int AOloopControl_DM_dmturb_printstatus | ( | long | DMindex | ) |
int AOloopControl_DM_dmturb_tint | ( | long | DMindex, |
long | tint | ||
) |
int_fast8_t AOloopControl_DM_dmturb_tint_cli | ( | ) |
int AOloopControl_DM_dmturb_wspeed | ( | long | DMindex, |
double | wspeed | ||
) |
int_fast8_t AOloopControl_DM_dmturb_wspeed_cli | ( | ) |
int AOloopControl_DM_dmturboff | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_dmturboff_cli | ( | ) |
|
static |
long AOloopControl_DM_mkAstroGrid_seq | ( | char * | IDoutname, |
long | DMindex, | ||
int | XYmode, | ||
int | bin, | ||
long | NBcycle | ||
) |
int_fast8_t AOloopControl_DM_mkAstroGrid_seq_cli | ( | ) |
int AOloopControl_DM_setDClevel | ( | long | DMindex, |
float | DClevel | ||
) |
int_fast8_t AOloopControl_DM_setDClevel_cli | ( | ) |
int AOloopControl_DM_setMAXVOLT | ( | long | DMindex, |
float | maxvolt | ||
) |
int_fast8_t AOloopControl_DM_setMAXVOLT_cli | ( | ) |
int AOloopControl_DM_setTrigChan | ( | long | DMindex, |
int | chan | ||
) |
int_fast8_t AOloopControl_DM_setTrigChan_cli | ( | ) |
int AOloopControl_DM_setTrigMode | ( | long | DMindex, |
int | mode | ||
) |
int_fast8_t AOloopControl_DM_setTrigMode_cli | ( | ) |
int AOloopControl_DM_setTrigSem | ( | long | DMindex, |
int | sem | ||
) |
int_fast8_t AOloopControl_DM_setTrigSem_cli | ( | ) |
int AOloopControl_DM_setvoltOFF | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_setvoltOFF_cli | ( | ) |
int AOloopControl_DM_setvoltON | ( | long | DMindex | ) |
int_fast8_t AOloopControl_DM_setvoltON_cli | ( | ) |
|
static |
int AOloopControl_DMturb_createconf | ( | ) |
int AOloopControl_DMturb_loadconf | ( | long | DMindex | ) |
long AOloopControl_mkDM_TT_circle | ( | char * | IDoutname, |
long | DMindex, | ||
long | NBpts, | ||
float | ampl | ||
) |
int_fast8_t AOloopControl_mkDM_TT_circle_cli | ( | ) |
int AOloopControl_printDMconf | ( | ) |
int_fast8_t AOloopControl_printDMturbconf | ( | ) |
int clock_gettime | ( | int | clk_id, |
struct mach_timespec * | t | ||
) |
int init_AOloopControl_DM | ( | ) |
|
static |
|
static |
DATA data |
int dmdispcomb_loaded = 0 |
AOLOOPCONTROL_DM_DISPCOMB_CONF* dmdispcombconf |
int dmturb_loaded = 0 |
AOLOOPCONTROL_DMTURBCONF* dmturbconf |
long NB_DMindex = 9 |
struct timespec semwaitts |
int SMfd |
int SMturbfd |
int wcol |
int wrow |