MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
plot_utils.h File Reference

Functions

void plot_loc (const char *fig, const parms_t *parms, int show_recon, int show_evl, loc_t *loc, real ht, const char *format,...)
void plot_dir (const char *fig, const parms_t *parms, real totfov, const char *format,...)
void plot_setup (const parms_t *parms, const powfs_t *powfs, const aper_t *aper, const recon_t *recon)
void plot_dm (const parms_t *parms, const recon_t *recon, const dcell *ac, int modal, const char *title, const char *type)
void plot_dm_lo (sim_t *simu, dcell *merr, const char *title, const char *type)
void plot_dmreal (sim_t *simu)
void plot_recon (sim_t *simu)
void plot_gradoff (sim_t *simu, int iwfs)
void plot_psf (const_anycell psf2s, const char *psfname, int type, int ievl, dmat *wvl, int zlog, real psfmin)

Detailed Description

Contains utility routines for plotting

Function Documentation

◆ plot_loc()

void plot_loc ( const char * fig,
const parms_t * parms,
int show_recon,
int show_evl,
loc_t * loc,
real ht,
const char * format,
... )

Plot the loc, together with all beams. show_recon=1: include WFS for tomography and DM fitting directions show_recon=2: include all WFS and DM fitting directions show_evl: include evaluation directions

◆ plot_dir()

void plot_dir ( const char * fig,
const parms_t * parms,
real totfov,
const char * format,
... )

ploted all the different beam directions as points. style is defined as follows: bits 1-3:the point style. bit 4: whether points are connected. bits 5-8: size bits 9-32:color

The color follows RGB representation: (Since 2011-02-18) bits 32-25: Red. bits 24-17: Green. bits 16-9: Blue.

◆ plot_setup()

void plot_setup ( const parms_t * parms,
const powfs_t * powfs,
const aper_t * aper,
const recon_t * recon )

Plot grid points, amplitude maps and NCPA.