![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
Adaptive Optics Control loop engine I/O tools. More...
#include <string.h>
#include <stdint.h>
#include <math.h>
#include "CommandLineInterface/CLIcore.h"
#include "00CORE/00CORE.h"
#include "AOloopControl/AOloopControl.h"
#include "AOloopControl_IOtools/AOloopControl_IOtools.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "statistic/statistic.h"
#include "fft/fft.h"
Macros | |
#define | _GNU_SOURCE |
Functions | |
AOloopControl_IOtools - 3. DATA STREAMS PROCESSING | |
Data streams real-time processing | |
errno_t | AOloopControl_IOtools_AveStream (const char *IDname, double alpha, const char *IDname_out_ave, const char *IDname_out_AC, const char *IDname_out_RMS) |
Average data stream. More... | |
errno_t | AOloopControl_IOtools_imAlignStream (const char *IDname, int xbox0, int ybox0, const char *IDref_name, const char *IDout_name, int insem) |
Aligns data stream. More... | |
imageID | AOloopControl_IOtools_frameDelay (const char *IDin_name, const char *IDkern_name, const char *IDout_name, int insem) |
Induces temporal offset between input and output streams. More... | |
imageID | AOloopControl_IOtools_stream3Dto2D (const char *in_name, const char *out_name, int NBcols, int insem) |
Re-arrange a 3D cube into an array of images into a single 2D frame. More... | |
Variables | |
AOLOOPCONTROL_CONF * | AOconf |
CLI function for AOloopControl_setframesAve. More... | |
AOloopControl_var | aoloopcontrol_var |
long | LOOPNUMBER |
Adaptive Optics Control loop engine I/O tools.
AO engine uses stream data structure
#define _GNU_SOURCE |
errno_t AOloopControl_IOtools_AveStream | ( | const char * | IDname, |
double | alpha, | ||
const char * | IDname_out_ave, | ||
const char * | IDname_out_AC, | ||
const char * | IDname_out_RMS | ||
) |
Average data stream.
Averages input image stream
[in] | IDname | CHAR* Input stream name |
[in] | alpha | DOUBLE Averaging coefficient new average = old average * (1-alpha) + alpha * new image |
[out] | fIDname_out_ave | CHAR* Stream name for output average image |
[in] | IDname_out_AC | CHAR* Stream name for output AC component (average-subtracted) |
[in] | IDname_out_RMS | CHAR* Stream name for output RMS component |
imageID AOloopControl_IOtools_frameDelay | ( | const char * | IDin_name, |
const char * | IDkern_name, | ||
const char * | IDout_name, | ||
int | insem | ||
) |
Induces temporal offset between input and output streams.
imageID AOloopControl_IOtools_stream3Dto2D | ( | const char * | in_name, |
const char * | out_name, | ||
int | NBcols, | ||
int | insem | ||
) |
Re-arrange a 3D cube into an array of images into a single 2D frame.
AOLOOPCONTROL_CONF* AOconf |
CLI function for AOloopControl_setframesAve.
AOloopControl_var aoloopcontrol_var |
long LOOPNUMBER |