mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Simulation of a single turbulent layer.
document this
add facility for changing interpolator
Definition at line 55 of file turbLayer.hpp.
#include <ao/sim/turbLayer.hpp>
Public Member Functions | |
void | genDealloc () |
Deallocate memory necessary for phase screen generation. More... | |
void | shift (realT dt) |
Shift to a timestep. More... | |
void | initRandom () |
Seed the uniform deviation. Call this if you intend to use shiftRandom. More... | |
void | shiftRandom (bool nofract=false) |
Shift by a random amount using the uniform distribution. More... | |
Public Attributes | |
mx::math::uniDistT< realT > | uniVar |
Uniform deviate, used in shiftRandom. More... | |
void mx::AO::sim::turbLayer< aoSystemT >::genDealloc |
Deallocate memory necessary for phase screen generation.
Definition at line 267 of file turbLayer.hpp.
void mx::AO::sim::turbLayer< aoSystemT >::initRandom |
Seed the uniform deviation. Call this if you intend to use shiftRandom.
This only needs to be called once.
Definition at line 306 of file turbLayer.hpp.
void mx::AO::sim::turbLayer< aoSystemT >::shift | ( | realT | dt | ) |
Shift to a timestep.
[in] | dt | is the new timestep. |
Definition at line 274 of file turbLayer.hpp.
References mx::improc::imageShift(), and mx::improc::imageShiftWP().
void mx::AO::sim::turbLayer< aoSystemT >::shiftRandom | ( | bool | nofract = false | ) |
Shift by a random amount using the uniform distribution.
Call initRandom() once before calling this method.
[in] | nofract | if true then the fractional part is ignored, and only a whole-pixel shift is executed. Default=false |
Definition at line 312 of file turbLayer.hpp.
References mx::improc::imageShift(), and mx::improc::imageShiftWP().
mx::math::uniDistT<realT> mx::AO::sim::turbLayer< _aoSystemT >::uniVar |
Uniform deviate, used in shiftRandom.
Definition at line 84 of file turbLayer.hpp.