mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
mx::AO::analysis::pywfsUnmod< realT, iosT > Struct Template Reference

template<typename realT, typename iosT = std::ostream>
struct mx::AO::analysis::pywfsUnmod< realT, iosT >

The unmodulated pyramid wavefront sensor sensitivity function.

Provides the \( \beta_p \) parameter of Guyon, 2005 [9] for the unmodulated PyWFS.

Template Parameters
realTis the floating point type used for calculations
iosTis an output stream type with operator << defined (default is std::ostream)

Definition at line 117 of file aoWFS.hpp.

#include <ao/analysis/aoWFS.hpp>

+ Inheritance diagram for mx::AO::analysis::pywfsUnmod< realT, iosT >:

Public Member Functions

virtual realT beta_p (int m, int n, realT D, realT d, realT r0)
 Get the photon noise sensitivity at a spatial frequency. More...
 
virtual realT beta_r (int m, int n, realT D, realT d, realT r0)
 Get the read noise sensitivity at a spatial frequency. More...
 
- Public Member Functions inherited from mx::AO::analysis::wfs< realT, std::ostream >
 wfs ()
 Constructor. More...
 
virtual ~wfs ()
 Destructor. More...
 
virtual std::ostream & dumpWFS (std::ostream &ios)
 Dump the details of the WFS to an io stream. More...
 

Member Function Documentation

◆ beta_p()

template<typename realT , typename iosT = std::ostream>
virtual realT mx::AO::analysis::pywfsUnmod< realT, iosT >::beta_p ( int  m,
int  n,
realT  D,
realT  d,
realT  r0 
)
inlinevirtual

Get the photon noise sensitivity at a spatial frequency.

The sensitivity of the unmodulated PyWFS is \( \sqrt{2} \) at all k.

Returns
the sensitivity to photon noise parameter
Parameters
[in]mthe spatial frequency index for u (not used by this WFS)
[in]nthe spatial frequency index for v (not used by this WFS)
[in]Dthe telescope diameter (not used by this WFS)
[in]dthe sub-ap spacing (not used by this WFS)
[in]r0Fried's parameter (not used by this WFS)

Reimplemented from mx::AO::analysis::wfs< realT, std::ostream >.

Definition at line 129 of file aoWFS.hpp.

Referenced by mx::AO::analysis::pywfsUnmod< realT, iosT >::beta_r().

◆ beta_r()

template<typename realT , typename iosT = std::ostream>
virtual realT mx::AO::analysis::pywfsUnmod< realT, iosT >::beta_r ( int  m,
int  n,
realT  D,
realT  d,
realT  r0 
)
inlinevirtual

Get the read noise sensitivity at a spatial frequency.

Here we assume that beta_r is the same as beta_p.

Returns
the sensitivity to read noise parameter
Parameters
[in]mthe spatial frequency index for u (not used by this WFS)
[in]nthe spatial frequency index for v (not used by this WFS)
[in]Dthe telescope diameter (not used by this WFS)
[in]dthe sub-ap spacing (not used by this WFS)
[in]r0Fried's parameter (not used by this WFS)

Reimplemented from mx::AO::analysis::wfs< realT, std::ostream >.

Definition at line 151 of file aoWFS.hpp.

References mx::AO::analysis::pywfsUnmod< realT, iosT >::beta_p().


The documentation for this struct was generated from the following file: