cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
AOloopControl_loop_param.c File Reference

AO loop control - CONTROL LOOP PARAMETERS. More...

#include <stdio.h>
#include <string.h>
#include <math.h>
#include "CommandLineInterface/CLIcore.h"
#include "AOloopControl/AOloopControl.h"
#include "00CORE/00CORE.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "COREMOD_arith/COREMOD_arith.h"
#include "AOloopControl_perfTest/AOloopControl_perfTest.h"
Include dependency graph for AOloopControl_loop_param.c:

Macros

#define _GNU_SOURCE
 

Functions

errno_t AOloopControl_setgain (float gain)
 Set gain of the loop. More...
 
errno_t AOloopControl_setARPFgain (float gain)
 Set ARPF gain (auto regressive predictive filter) Ex : a gain of 0.5 will correct 50% of the predicted WF. More...
 
errno_t AOloopControl_setARPFgainAutoMin (float val)
 Set ARPF. More...
 
errno_t AOloopControl_setARPFgainAutoMax (float val)
 Set ARPF. More...
 
errno_t AOloopControl_setWFSnormfloor (float WFSnormfloor)
 Coefficient attenuates AO correction in low loght level. More...
 
errno_t AOloopControl_setmaxlimit (float maxlimit)
 Set the limit maximum. More...
 
errno_t AOloopControl_setmult (float multcoeff)
 Multiplying coefficient, close to 1, in order to avoid divergence. More...
 
errno_t AOloopControl_set_modeblock_gain (long loop, long blocknb, float gain, int add)
 Set gain of block of modes. More...
 
errno_t AOloopControl_scanGainBlock (long NBblock, long NBstep, float gainStart, float gainEnd, long NBgain)
 Scan block gains. More...
 

Variables

AOLOOPCONTROL_CONFAOconf
 CLI function for AOloopControl_setframesAve. More...
 
AOloopControl_var aoloopcontrol_var
 

Detailed Description

AO loop control - CONTROL LOOP PARAMETERS.

REAL TIME COMPUTING ROUTINES

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

◆ AOloopControl_scanGainBlock()

errno_t AOloopControl_scanGainBlock ( long  NBblock,
long  NBstep,
float  gainStart,
float  gainEnd,
long  NBgain 
)

Scan block gains.

◆ AOloopControl_set_modeblock_gain()

errno_t AOloopControl_set_modeblock_gain ( long  loop,
long  blocknb,
float  gain,
int  add 
)

Set gain of block of modes.

◆ AOloopControl_setARPFgain()

errno_t AOloopControl_setARPFgain ( float  gain)

Set ARPF gain (auto regressive predictive filter) Ex : a gain of 0.5 will correct 50% of the predicted WF.

◆ AOloopControl_setARPFgainAutoMax()

errno_t AOloopControl_setARPFgainAutoMax ( float  val)

Set ARPF.

◆ AOloopControl_setARPFgainAutoMin()

errno_t AOloopControl_setARPFgainAutoMin ( float  val)

Set ARPF.

◆ AOloopControl_setgain()

errno_t AOloopControl_setgain ( float  gain)

Set gain of the loop.

◆ AOloopControl_setmaxlimit()

errno_t AOloopControl_setmaxlimit ( float  maxlimit)

Set the limit maximum.

◆ AOloopControl_setmult()

errno_t AOloopControl_setmult ( float  multcoeff)

Multiplying coefficient, close to 1, in order to avoid divergence.

◆ AOloopControl_setWFSnormfloor()

errno_t AOloopControl_setWFSnormfloor ( float  WFSnormfloor)

Coefficient attenuates AO correction in low loght level.

Variable Documentation

◆ AOconf

CLI function for AOloopControl_setframesAve.

◆ aoloopcontrol_var

AOloopControl_var aoloopcontrol_var