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

Functions

void mtch_wrap (const parms_t *parms, powfs_t *powfs, const int ipowfs)

Detailed Description

Contains routines to generate mean short exposure (tip/tilt removed) pixel intensities. Mostly used for LGS pixel intensity for its matched filter. Structure functions from kolmogorov spectrum is used. Not able to take into account outerscale yet.

Todo
find ways to factor in outerscale effect (use von karman spectrum instead of kolmogorov)

Function Documentation

◆ mtch_wrap()

void mtch_wrap ( const parms_t * parms,
powfs_t * powfs,
const int ipowfs )

Generate matched filter and noise equivalent angle for powfs ipowfs from the i0, gx, gy in intstat, and print NEA if srsa is set.

Parameters
[in]parmsThe parameter struct.
[in,out]powfsThe powfs struct array. intstat->mtche, intstat->i0sum, intstat->i0sumsum, and sanea are set.
[in]ipowfsIndex of the powfs.