LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::shapelet::GaussHermiteProjection Class Reference

#include <GaussHermiteProjection.h>

Public Member Functions

Eigen::MatrixXd compute (afw::geom::ellipses::Quadrupole const &inputEllipse, int inputOrder, afw::geom::ellipses::Quadrupole const &outputEllipse, int outputOrder) const
 Compute a matrix that projects from one shapelet basis ellipse to another. More...
 
Eigen::MatrixXd compute (afw::geom::LinearTransform const &inputTransform, int inputOrder, afw::geom::LinearTransform const &outputTransform, int outputOrder) const
 Compute a matrix that projects from one shapelet basis "grid transform" to another. More...
 
Eigen::MatrixXd compute (Eigen::Matrix2d const &inputTransform, int inputOrder, Eigen::Matrix2d const &outputTransform, int outputOrder) const
 Compute a matrix that projects from one shapelet basis "grid transform" to another. More...
 
int getMaxOrder () const
 
 GaussHermiteProjection (int maxOrder)
 

Detailed Description

Definition at line 33 of file GaussHermiteProjection.h.

Constructor & Destructor Documentation

◆ GaussHermiteProjection()

lsst::shapelet::GaussHermiteProjection::GaussHermiteProjection ( int  maxOrder)
inlineexplicit

Definition at line 66 of file GaussHermiteProjection.h.

66 : _htm(maxOrder) {}

Member Function Documentation

◆ compute() [1/3]

Eigen::MatrixXd lsst::shapelet::GaussHermiteProjection::compute ( afw::geom::ellipses::Quadrupole const &  inputEllipse,
int  inputOrder,
afw::geom::ellipses::Quadrupole const &  outputEllipse,
int  outputOrder 
) const
inline

Compute a matrix that projects from one shapelet basis ellipse to another.

Definition at line 37 of file GaussHermiteProjection.h.

40  {
41  return compute(
42  inputEllipse.getGridTransform().getMatrix(), inputOrder,
43  outputEllipse.getGridTransform().getMatrix(), outputOrder
44  );
45  }
Eigen::MatrixXd compute(afw::geom::ellipses::Quadrupole const &inputEllipse, int inputOrder, afw::geom::ellipses::Quadrupole const &outputEllipse, int outputOrder) const
Compute a matrix that projects from one shapelet basis ellipse to another.

◆ compute() [2/3]

Eigen::MatrixXd lsst::shapelet::GaussHermiteProjection::compute ( afw::geom::LinearTransform const &  inputTransform,
int  inputOrder,
afw::geom::LinearTransform const &  outputTransform,
int  outputOrder 
) const
inline

Compute a matrix that projects from one shapelet basis "grid transform" to another.

Definition at line 48 of file GaussHermiteProjection.h.

51  {
52  return compute(
53  inputTransform.getMatrix(), inputOrder,
54  outputTransform.getMatrix(), outputOrder
55  );
56  }
Eigen::MatrixXd compute(afw::geom::ellipses::Quadrupole const &inputEllipse, int inputOrder, afw::geom::ellipses::Quadrupole const &outputEllipse, int outputOrder) const
Compute a matrix that projects from one shapelet basis ellipse to another.

◆ compute() [3/3]

Eigen::MatrixXd lsst::shapelet::GaussHermiteProjection::compute ( Eigen::Matrix2d const &  inputTransform,
int  inputOrder,
Eigen::Matrix2d const &  outputTransform,
int  outputOrder 
) const

Compute a matrix that projects from one shapelet basis "grid transform" to another.

◆ getMaxOrder()

int lsst::shapelet::GaussHermiteProjection::getMaxOrder ( ) const
inline

Definition at line 64 of file GaussHermiteProjection.h.

64 { return _htm.getOrder(); }
int getOrder() const
Return the maximum order at which the matrix can be computed.

The documentation for this class was generated from the following file: