![]() |
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 "CommandLineInterface/CLIcore.h"
#include "AOloopControl/AOloopControl.h"
#include "AOloopControl_IOtools/AOloopControl_IOtools.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "COREMOD_iofits/COREMOD_iofits.h"
#include "00CORE/00CORE.h"
Macros | |
#define | _GNU_SOURCE |
Functions | |
AOloopControl_IOtools - 2. LOAD DATA STREAMS | |
Load 2D and 3D shared memory images | |
imageID | AOloopControl_IOtools_2Dloadcreate_shmim (const char *name, const char *fname, long xsize, long ysize, float DefaultValue) |
Load 2D image in shared memory. More... | |
imageID | AOloopControl_IOtools_3Dloadcreate_shmim (const char *name, const char *fname, long xsize, long ysize, long zsize, float DefaultValue) |
Load 3D image in shared memory. More... | |
Variables | |
long | LOOPNUMBER |
AOLOOPCONTROL_CONF * | AOconf |
CLI function for AOloopControl_setframesAve. More... | |
AOloopControl_var | aoloopcontrol_var |
static int | loadcreateshm_log = 0 |
static FILE * | loadcreateshm_fplog |
Adaptive Optics Control loop engine I/O tools.
AO engine uses stream data structure
#define _GNU_SOURCE |
imageID AOloopControl_IOtools_2Dloadcreate_shmim | ( | const char * | name, |
const char * | fname, | ||
long | xsize, | ||
long | ysize, | ||
float | DefaultValue | ||
) |
Load 2D image in shared memory.
Implements stream loading policy with optional check on size for 2D images. See CLIcore.h for policy details.
(1) If image already in local memory, and has correct size, upload FITS file to existing array, go to (END-success), otherwise, go to (2) (2) If image already in local memory, but size does not match, go to (END-fail), otherwise, go to (3) (3) Load FITS image to local memory
imageID AOloopControl_IOtools_3Dloadcreate_shmim | ( | const char * | name, |
const char * | fname, | ||
long | xsize, | ||
long | ysize, | ||
long | zsize, | ||
float | DefaultValue | ||
) |
Load 3D image in shared memory.
AOLOOPCONTROL_CONF* AOconf |
CLI function for AOloopControl_setframesAve.
AOloopControl_var aoloopcontrol_var |
|
static |
|
static |
long LOOPNUMBER |