![]() |
MAOS
Multithreaded Adaptive Optics Simulator
|
Functions | |
| void | petal_setup_wrap (recon_t *recon, const parms_t *parms, const powfs_t *powfs) |
| void | petal_recon (sim_t *simu) |
Contains utility routines to for petal mode reconstruction. Actual implementation is in lib/petal.c
Petaling mode control
| void petal_recon | ( | sim_t * | simu | ) |
Reconstruct petal modes. The function is now split into three parts: Part 1: accumuate i0 at every time step and set do_petal if a reconstruction is due. Part 2: launch a new thread to do the petal reconstruction. Part 3: join the thread and do post-processing to update the reference vectors.