MAOS
Multithreaded Adaptive Optics Simulator
recon_lsr.c File Reference

Functions

void setup_recon_lsr (recon_t *recon, const parms_t *parms)
 

Detailed Description

Contains routines that setup the least squares reconstructor

Function Documentation

◆ setup_recon_lsr()

void setup_recon_lsr ( recon_t recon,
const parms_t parms 
)

Setup the least square reconstruct by directly inverting GA matrix. The reconstructor is simply the pseudo inverse of GA matrix:

\[\hat{x}=(G_a^TC_g^{-1}G_a)^{-1}G_a^TC_g^{-1}\]

This is very close to RR except replacing GX with GA.

We use the tomograhy parameters for lsr, since lsr is simply "tomography" onto DM directly.