|
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.
#include "../ioutils/fits/fitsFile.hpp"#include "../sigproc/fourierModes.hpp"#include "../sigproc/gramSchmidt.hpp"#include "../improc/imageFilters.hpp"#include "../improc/imagePads.hpp"#include "../improc/eigenCube.hpp"#include "../sigproc/signalWindows.hpp"#include "../math/eigenLapack.hpp"Go to the source code of this file.
Namespaces | |
| namespace | 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. | |
| 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. | |
| 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(), mx::improc::filterImage(), mx::improc::padImage(), and mx::math::six_fifths().
Referenced by mx::AO::applyPupil2Basis(), and mx::AO::orthogonalizeBasis().
| 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 |
Definition at line 143 of file basis.hpp.
References mx::AO::applyPupil2Basis(), mx::improc::eigenCube< dataT >::image(), and mx::math::six_fifths().