![]() |
MAOS
Multithreaded Adaptive Optics Simulator
|
Functions | |
| void | setup_recon_saneai (recon_t *recon, const parms_t *parms, const powfs_t *powfs) |
| void | setup_recon_update_cn2 (recon_t *recon, const parms_t *parms) |
| void | setup_recon_control (recon_t *recon, const parms_t *parms, const powfs_t *powfs) |
| void | setup_recon_psd (recon_t *recon, const parms_t *parms) |
| void | setup_recon_misc (recon_t *recon, const parms_t *parms, loc_t *locs, const powfs_t *powfs) |
| void | free_recon_cxx (recon_t *recon) |
| void | free_recon_unused (const parms_t *parms, recon_t *recon) |
| void | free_recon (const parms_t *parms, recon_t *recon) |
Contains routines that setup the wavefront reconstructor and DM fitting.
Setup the matrix of the inverse of gradient measurement noise equivalent angle covariance matrix. For physical optics wfs, the NEA is computed using matched filter output. For geometric optics, the NEA is from input.
Update assembled tomography matrix with new L2. Called from cn2est when new profiles are available.
Setup either the control matrix using either minimum variance reconstructor by calling setup_recon_mvr() or least square reconstructor by calling setup_recon_lsr() It can be called repeatedly to update the reconstructor when NEA updates.
The results are measurement noise dependent and may be updated during simulation.
| void setup_recon_misc | ( | recon_t * | recon, |
| const parms_t * | parms, | ||
| loc_t * | locs, | ||
| const powfs_t * | powfs ) |
Reconstruction optimization background loops setup.
| void free_recon_cxx | ( | recon_t * | recon | ) |
Frees recon->invpsd or recon->fractal
Free unused object in recon struct after preparation is done.