MAOS
Multithreaded Adaptive Optics Simulator
recon_prep.c File Reference

Macros

#define GREEN   BLACK
 

Functions

long count_nonzero (const lmat *in)
 
void setup_recon_dither_dm (recon_t *recon, const powfs_t *powfs, const parms_t *parms)
 
recon_tsetup_recon_prep (const parms_t *parms, const aper_t *aper, const powfs_t *powfs)
 
void setup_recon_prep_ga (recon_t *recon, const parms_t *parms, const aper_t *aper, const powfs_t *powfs)
 

Detailed Description

Setup grid and ray tracing operators regarding DM. This is independent of 1) WFS geometry or noise parameters 2) Tomography

Function Documentation

◆ setup_recon_dither_dm()

void setup_recon_dither_dm ( recon_t recon,
const powfs_t powfs,
const parms_t parms 
)

Dither using command path (DM) aberration

◆ setup_recon_prep()

recon_t* setup_recon_prep ( const parms_t parms,
const aper_t aper,
const powfs_t powfs 
)

Create reconstruction parameters that are related to the geometry only, and will not be updated when estimated WFS measurement noise changes.

This can be used to do NCPA calibration.

◆ setup_recon_prep_ga()

void setup_recon_prep_ga ( recon_t recon,
const parms_t parms,
const aper_t aper,
const powfs_t powfs 
)

That may depend on GPU data.