MAOS
Multithreaded Adaptive Optics Simulator
|
Data Structures | |
struct | plot_opts |
union | plot_opts.__unnamed__ |
Functions | |
void | draw_helper (void) |
int | draw_add (int fd) |
void | draw_final (int reuse) |
int | draw_current (const char *fig, const char *fn) |
int | draw_current_format (const char *fig, const char *format,...) |
int | plot_empty (int sock_draw, const char *fig, const char *fn) |
int | draw (const char *fig, plot_opts opts, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawmap (const char *fig, const map_t *map, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawloc (const char *fig, loc_t *loc, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawopd (const char *fig, loc_t *loc, const dmat *opd, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawgrad (const char *fig, loc_t *saloc, const dmat *saa, const dmat *grad, int grad2opd, int trs, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawopdamp (const char *fig, loc_t *loc, const dmat *opd, const dmat *amp, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
int | drawints (const char *fig, const loc_t *saloc, const dcell *ints, real zlim, const char *title, const char *xlabel, const char *ylabel, const char *format,...) |
Contains functions for data visualization.
struct plot_opts |
Data Fields | ||
---|---|---|
union plot_opts | __unnamed__ | |
int | ngroup | |
int | maxlen | number of lines |
loc_t ** | loc | limit maximum nx |
const dcell * | dc | |
const int32_t * | style | |
const real | zlim[2] | |
const real * | limit | |
const int | zlog | |
const int | ctype | |
const char * | xylog | |
const dmat * | cir | |
const char *const *const | legend | |
int | always |
union plot_opts.__unnamed__ |
int draw_add | ( | int | sock | ) |
Add fd to list of drawing socks
void draw_final | ( | int | reuse | ) |
Tell drawdaemon that this client will no long use the socket. Send the socket to scheduler for future reuse.
int draw_current | ( | const char * | fig, |
const char * | fn | ||
) |
Check whether what we are drawing is current page of any drawdaemon.
int draw | ( | const char * | fig, |
plot_opts | opts, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Plot the coordinates ptsx, ptsy using style, and optionally plot ncir circles.
fig | Category of the figure |
opts | Additional options |
title | title of the plot |
xlabel | x axis label |
ylabel | y axis label |
format | subcategory of the plot. |
int drawmap | ( | const char * | fig, |
const map_t * | map, | ||
real | zlim, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Mapping the floating point numbers onto screen with scaling similar to matlab imagesc. . see ddraw() like ddraw, acting on map object. see ddraw()
int drawloc | ( | const char * | fig, |
loc_t * | loc, | ||
real | zlim, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Plot the loc on the screen. see ddraw()
int drawopd | ( | const char * | fig, |
loc_t * | loc, | ||
const dmat * | opd, | ||
real | zlim, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Plot the opd using coordinate loc. see ddraw()
int drawgrad | ( | const char * | fig, |
loc_t * | saloc, | ||
const dmat * | saa, | ||
const dmat * | gradin, | ||
int | grad2opd, | ||
int | trs, | ||
real | zlim, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Plot gradients using CuReD
int drawopdamp | ( | const char * | fig, |
loc_t * | loc, | ||
const dmat * | opd, | ||
const dmat * | amp, | ||
real | zlim, | ||
const char * | title, | ||
const char * | xlabel, | ||
const char * | ylabel, | ||
const char * | format, | ||
... | |||
) |
Plot opd with coordinate loc where amp is above threshold. see ddraw()