MAOS
Multithreaded Adaptive Optics Simulator
|
Functions | |
void | cure1d (dmat **phix, const dmat *gx, const dmat *gy, real dx) |
void | cure (dmat **phix, const dmat *gx, const dmat *gy, real dx) |
void | cure_loc (dmat **phix, const dmat *grad, const loc_t *gloc) |
void | cure_loc2 (dmat **phix, const dmat *grad, const loc_t *saloc) |
Cumulative Reconstructor
Implementation is based on M.Rosensteiner, J. Opt. Soc. Am. A28, 2132-2138 (2011)
pphix | Output: opd |
gx | x gradients, dimension is nx*ny. Invalid subapertures set to NaN |
gy | y gradients, dimension is ny*ny. |
dx | Size of subaperture |
Implements 2d cure by calling cure1d twice.
An alternative interface. grad is nsa*2 defined on saloc, instead of on square grid. phix is on square grid.