mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]

A collection of constants useful for adaptive optics analysis.

Functions

template<typename floatT >
constexpr floatT mx::AO::constants::a_SF ()
 The scaling constant for the Kolmorogov optical phase structure function. More...
 
template<typename floatT >
constexpr floatT mx::AO::constants::a_PSD ()
 The scaling constant for the Kolmorogov optical phase power spectral density. More...
 

Function Documentation

◆ a_PSD()

template<typename floatT >
constexpr floatT mx::AO::constants::a_PSD ( )
constexpr

The scaling constant for the Kolmorogov optical phase power spectral density.

The optical phase PSD for Kolmogorov turbulence is

\[ \mathcal{P}_\phi(k) = a_{PSD} \left(\frac{1}{r_0^{5/3} k^{11/3}}\right) \]

This constant, given to 50 digits, was caculated using calcConstants with boost::multiprecision::cpp_dec_float_100 (100 digits of precision)

Returns
0.02181... cast to type floatT
Template Parameters
floatTis the type to cast the value to

Definition at line 80 of file aoConstants.hpp.

◆ a_SF()

template<typename floatT >
constexpr floatT mx::AO::constants::a_SF ( )
constexpr

The scaling constant for the Kolmorogov optical phase structure function.

The optical phase structure function for Kolmogorov turbulence is

\[ \mathcal{D}_\phi(r) = a_{SF} \left(\frac{r}{r_0}\right)^{5/3} \]

This constant, given to 50 digits, was caculated using calcConstants with boost::multiprecision::cpp_dec_float_100 (100 digits of precision)

Returns
6.883877.... cast to type floatT
Template Parameters
floatTis the type to cast the value to.

Definition at line 60 of file aoConstants.hpp.