mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Structure containing the phase and amplitude of a wavefront
The phase and amplitude are stored separately in real valued arrays.
Definition at line 25 of file wavefront.hpp.
#include <ao/sim/wavefront.hpp>
Public Types | |
typedef _realT | realT |
The floating point type used for all calculations. More... | |
typedef Eigen::Array< _realT, Eigen::Dynamic, Eigen::Dynamic > | realImageT |
The data type of the real image, used to hold the phase and amplitude. More... | |
typedef wfp::imagingArray< std::complex< realT >, wfp::fftwAllocator< std::complex< realT > >, 0 > | complexAmplitudeT |
The wavefront data type. More... | |
Public Member Functions | |
void | setZero () |
Zero the wavefront. More... | |
Public Attributes | |
realImageT | amplitude |
The wavefront amplitude. More... | |
realImageT | phase |
The wavefront phase. More... | |
realT | lambda |
The wavelength at which the wavefront is specified. More... | |
realT | iterNo |
The iteration number of this wavefront. More... | |
typedef wfp::imagingArray<std::complex<realT>, wfp::fftwAllocator<std::complex<realT> >, 0> mx::AO::sim::wavefront< _realT >::complexAmplitudeT |
The wavefront data type.
Definition at line 34 of file wavefront.hpp.
typedef Eigen::Array<_realT, Eigen::Dynamic, Eigen::Dynamic> mx::AO::sim::wavefront< _realT >::realImageT |
The data type of the real image, used to hold the phase and amplitude.
Definition at line 31 of file wavefront.hpp.
typedef _realT mx::AO::sim::wavefront< _realT >::realT |
The floating point type used for all calculations.
Definition at line 28 of file wavefront.hpp.
|
inline |
Zero the wavefront.
Definition at line 49 of file wavefront.hpp.
References mx::AO::sim::wavefront< _realT >::amplitude, and mx::AO::sim::wavefront< _realT >::phase.
realImageT mx::AO::sim::wavefront< _realT >::amplitude |
The wavefront amplitude.
Definition at line 37 of file wavefront.hpp.
Referenced by mx::AO::sim::wavefront< _realT >::setZero().
realT mx::AO::sim::wavefront< _realT >::iterNo |
The iteration number of this wavefront.
Definition at line 46 of file wavefront.hpp.
realT mx::AO::sim::wavefront< _realT >::lambda |
The wavelength at which the wavefront is specified.
Definition at line 43 of file wavefront.hpp.
realImageT mx::AO::sim::wavefront< _realT >::phase |
The wavefront phase.
Definition at line 40 of file wavefront.hpp.
Referenced by mx::AO::sim::wavefront< _realT >::setZero().