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

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)

Detailed Description

Cumulative Reconstructor

Implementation is based on M.Rosensteiner, J. Opt. Soc. Am. A28, 2132-2138 (2011)

Function Documentation

◆ cure1d()

void cure1d ( dmat ** pphix,
const dmat * gx,
const dmat * gy,
real dx )

Cumulative Reconstructor

Implementation is based on M.Rosensteiner, J. Opt. Soc. Am. A28, 2132-2138 (2011)

Parameters
pphixOutput: opd
gxx gradients, dimension is nx*ny. Invalid subapertures set to NaN
gyy gradients, dimension is ny*ny.
dxSize of subaperture

◆ cure()

void cure ( dmat ** phi,
const dmat * gx,
const dmat * gy,
real dx )

Implements 2d cure by calling cure1d twice.

◆ cure_loc()

void cure_loc ( dmat ** phix,
const dmat * grad0,
const loc_t * saloc )

An alternative interface. grad is nsa*2 defined on saloc, instead of on square grid. phix is on square grid.

◆ cure_loc2()

void cure_loc2 ( dmat ** phix,
const dmat * grad,
const loc_t * saloc )

An alternative interface. grad is nsa*2 defined on saloc, instead of on square grid. Return phix also on saloc grid.