![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
AO loop Control compute functions. More...
#include <time.h>
#include <string.h>
#include <sched.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_blas.h>
#include <pthread.h>
#include "ImageStreamIO/ImageStreamIO.h"
#include "CommandLineInterface/CLIcore.h"
#include "AOloopControl/AOloopControl.h"
#include "00CORE/00CORE.h"
#include "info/info.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "COREMOD_iofits/COREMOD_iofits.h"
#include "AOloopControl_IOtools/AOloopControl_IOtools.h"
Macros | |
#define | _GNU_SOURCE |
Functions | |
imageID | __attribute__ ((hot)) |
Compute modes in open loop. More... | |
Variables | |
AOLOOPCONTROL_CONF * | AOconf |
CLI function for AOloopControl_setframesAve. More... | |
AOloopControl_var | aoloopcontrol_var |
#define _GNU_SOURCE |
imageID __attribute__ | ( | (hot) | ) |
Compute modes in open loop.
Main computation routine.
AOcompute() is called inside the aorun loop.
AOcompute main steps are:
[in] | paramname | long number of the loop |
[in] | paramname | int normalize |
Main AO loop function
Runs the AO loop
Calls AOcompute(), which computes the correction to the applied.
Then, the correction is applied by calling set_DM_modes() if modal correction, or by direct write to the DM otherwise.
Load arrays
AOLOOPCONTROL_CONF* AOconf |
CLI function for AOloopControl_setframesAve.
AOloopControl_var aoloopcontrol_var |