mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Utilities for working with a modal basis. More...
Utilities for working with a modal basis.
Definition in file basis.hpp.
Go to the source code of this file.
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Functions | |
template<typename realT > | |
void | mx::AO::applyPupil2Basis (eigenCube< realT > &modes, const std::string &basisName, const std::string &pupilName, realT fwhm=0) |
Multiply a raw modal basis by a pupil mask. More... | |
template<typename realT > | |
void | mx::AO::orthogonalizeBasis (const std::string &orthoName, const std::string &basisName, const std::string &pupilName, int method) |
Calculate an orthogonal projection of a basis on a pupil. More... | |
void mx::AO::applyPupil2Basis | ( | eigenCube< realT > & | modes, |
const std::string & | basisName, | ||
const std::string & | pupilName, | ||
realT | fwhm = 0 |
||
) |
Multiply a raw modal basis by a pupil mask.
Definition at line 38 of file basis.hpp.
References mx::AO::applyPupil2Basis().
Referenced by mx::AO::applyPupil2Basis().
void mx::AO::orthogonalizeBasis | ( | const std::string & | orthoName, |
const std::string & | basisName, | ||
const std::string & | pupilName, | ||
int | method | ||
) |
Calculate an orthogonal projection of a basis on a pupil.
Can use either the stabilized Gramm Schmidt (SGS) procedure, or Singular Value Decomposition (SVD). This calls applyPupil2Basis as a first step..
[in] | basisName | the name of the basis to orthogonalize |
[in] | pupilName | the name of the pupil on which to orthogonalize. |
[in] | method | either MXAO_ORTHO_METHOD_SGS (for SGS) or MXAO_ORTHO_METHOD_SVD (for SVD) |
realT |