MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
recon_fit.c File Reference

Functions

void setup_fit (fit_t *fit, int idealtomo)
void free_fit (fit_t *fit, int nfit)
void setup_recon_fit (recon_t *recon, const parms_t *parms)
void setup_powfs_fit (powfs_t *powfs, const recon_t *recon, const parms_t *parms)
void free_powfs_fit (powfs_t *powfs, const parms_t *parms)
void FitR (dcell **xout, const void *A, const dcell *xin, const real alpha)
void FitL (dcell **xout, const void *A, const dcell *xin, const real alpha)

Detailed Description

Contains routines that setup the DM fitting.

Function Documentation

◆ setup_fit()

void setup_fit ( fit_t * fit,
int idealtomo )

A generic DM fitting routine.

◆ setup_recon_fit()

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

Setup DM fitting parameters

◆ setup_powfs_fit()

void setup_powfs_fit ( powfs_t * powfs,
const recon_t * recon,
const parms_t * parms )

Setting fitting parameter for turbulence to WFS lenslet grid.

◆ free_powfs_fit()

void free_powfs_fit ( powfs_t * powfs,
const parms_t * parms )

Call this instead of free_fit directly to free powfs fit parameters.

◆ FitR()

void FitR ( dcell ** xout,
const void * A,
const dcell * xin,
const real alpha )

Apply fit right hand side matrix in CG mode without using assembled matrix. Slow. don't use. Assembled matrix is faster because of multiple directions.

◆ FitL()

void FitL ( dcell ** xout,
const void * A,
const dcell * xin,
const real alpha )

Apply fit left hand side matrix in CG mode without using assembled matrix. Slow. don't use. Assembled matrix is faster because of multiple directions.