LSSTApplications  19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
LSSTDataManagementBasePackage
Public Member Functions | Static Public Member Functions | List of all members
lsst::shapelet::GaussHermiteEvaluator Class Reference

A class to evaluate HERMITE shapelet-related quantities. More...

#include <GaussHermiteEvaluator.h>

Public Member Functions

int getOrder () const
 
void fillEvaluation (Array1d const &target, double x, double y, Array1d const &dx=Array1d(), Array1d const &dy=Array1d()) const
 Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point. More...
 
void fillEvaluation (Array1d const &target, geom::Point2D const &point, Array1d const &dx=Array1d(), Array1d const &dy=Array1d()) const
 Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point. More...
 
void fillEvaluation (Array1d const &target, geom::Extent2D const &point, Array1d const &dx=Array1d(), Array1d const &dy=Array1d()) const
 Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point. More...
 
void fillIntegration (Array1d const &target, int xMoment=0, int yMoment=0) const
 Fill a vector whose dot product with a HERMITE coefficient vector integrates a simple unscaled shapelet expansion. More...
 
double sumEvaluation (ndarray::Array< double const, 1 > const &coeff, double x, double y, double *dx=0, double *dy=0) const
 Evaluate a simple unscaled shapelet expansion at the given point. More...
 
double sumEvaluation (ndarray::Array< double const, 1 > const &coeff, geom::Point2D const &point, double *dx=0, double *dy=0) const
 Evaluate a simple unscaled shapelet expansion at the given point. More...
 
double sumEvaluation (ndarray::Array< double const, 1 > const &coeff, geom::Extent2D const &point, double *dx=0, double *dy=0) const
 Evaluate a simple unscaled shapelet expansion at the given point. More...
 
double sumIntegration (ndarray::Array< double const, 1 > const &coeff, int xMoment=0, int yMoment=0) const
 Integrate a simple unscaled shapelet expansion. More...
 
 GaussHermiteEvaluator (int order)
 

Static Public Member Functions

static Eigen::MatrixXd computeInnerProductMatrix (int rowOrder, int colOrder, double a, double b)
 Fill a matrix with the function inner products of two HERMITE shapelet basis functions with different scales. More...
 

Detailed Description

A class to evaluate HERMITE shapelet-related quantities.

Definition at line 84 of file GaussHermiteEvaluator.h.

Constructor & Destructor Documentation

◆ GaussHermiteEvaluator()

lsst::shapelet::GaussHermiteEvaluator::GaussHermiteEvaluator ( int  order)
explicit

Member Function Documentation

◆ computeInnerProductMatrix()

static Eigen::MatrixXd lsst::shapelet::GaussHermiteEvaluator::computeInnerProductMatrix ( int  rowOrder,
int  colOrder,
double  a,
double  b 
)
static

Fill a matrix with the function inner products of two HERMITE shapelet basis functions with different scales.

\( M_{\mathbf{i},\mathbf{j}} = \int d^2 \mathbf{x} \psi_\mathbf{i}(a\mathbf{x})\phi_\mathbf{j}(b\mathbf{x}) \)

◆ fillEvaluation() [1/3]

void lsst::shapelet::GaussHermiteEvaluator::fillEvaluation ( Array1d const &  target,
double  x,
double  y,
Array1d const &  dx = Array1d(),
Array1d const &  dy = Array1d() 
) const

Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point.

◆ fillEvaluation() [2/3]

void lsst::shapelet::GaussHermiteEvaluator::fillEvaluation ( Array1d const &  target,
geom::Extent2D const &  point,
Array1d const &  dx = Array1d(),
Array1d const &  dy = Array1d() 
) const
inline

Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point.

Definition at line 127 of file GaussHermiteEvaluator.h.

131  {
132  fillEvaluation(target, point.getX(), point.getY(), dx, dy);
133  }

◆ fillEvaluation() [3/3]

void lsst::shapelet::GaussHermiteEvaluator::fillEvaluation ( Array1d const &  target,
geom::Point2D const &  point,
Array1d const &  dx = Array1d(),
Array1d const &  dy = Array1d() 
) const
inline

Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapelet expansion at the given point.

Definition at line 115 of file GaussHermiteEvaluator.h.

119  {
120  fillEvaluation(target, point.getX(), point.getY(), dx, dy);
121  }

◆ fillIntegration()

void lsst::shapelet::GaussHermiteEvaluator::fillIntegration ( Array1d const &  target,
int  xMoment = 0,
int  yMoment = 0 
) const

Fill a vector whose dot product with a HERMITE coefficient vector integrates a simple unscaled shapelet expansion.

◆ getOrder()

int lsst::shapelet::GaussHermiteEvaluator::getOrder ( ) const
inline

Definition at line 99 of file GaussHermiteEvaluator.h.

99 { return _xWorkspace.getSize<0>() - 1; }

◆ sumEvaluation() [1/3]

double lsst::shapelet::GaussHermiteEvaluator::sumEvaluation ( ndarray::Array< double const, 1 > const &  coeff,
double  x,
double  y,
double *  dx = 0,
double *  dy = 0 
) const

Evaluate a simple unscaled shapelet expansion at the given point.

◆ sumEvaluation() [2/3]

double lsst::shapelet::GaussHermiteEvaluator::sumEvaluation ( ndarray::Array< double const, 1 > const &  coeff,
geom::Extent2D const &  point,
double *  dx = 0,
double *  dy = 0 
) const
inline

Evaluate a simple unscaled shapelet expansion at the given point.

Definition at line 162 of file GaussHermiteEvaluator.h.

165  {
166  return sumEvaluation(coeff, point.getX(), point.getY(), dx, dy);
167  }

◆ sumEvaluation() [3/3]

double lsst::shapelet::GaussHermiteEvaluator::sumEvaluation ( ndarray::Array< double const, 1 > const &  coeff,
geom::Point2D const &  point,
double *  dx = 0,
double *  dy = 0 
) const
inline

Evaluate a simple unscaled shapelet expansion at the given point.

Definition at line 152 of file GaussHermiteEvaluator.h.

155  {
156  return sumEvaluation(coeff, point.getX(), point.getY(), dx, dy);
157  }

◆ sumIntegration()

double lsst::shapelet::GaussHermiteEvaluator::sumIntegration ( ndarray::Array< double const, 1 > const &  coeff,
int  xMoment = 0,
int  yMoment = 0 
) const

Integrate a simple unscaled shapelet expansion.


The documentation for this class was generated from the following file:
lsst::shapelet::GaussHermiteEvaluator::sumEvaluation
double sumEvaluation(ndarray::Array< double const, 1 > const &coeff, double x, double y, double *dx=0, double *dy=0) const
Evaluate a simple unscaled shapelet expansion at the given point.
coeff
table::Key< table::Array< double > > coeff
Definition: PsfexPsf.cc:362
target
Key< Flag > const & target
Definition: BaseColumnView.cc:20
lsst::shapelet::GaussHermiteEvaluator::fillEvaluation
void fillEvaluation(Array1d const &target, double x, double y, Array1d const &dx=Array1d(), Array1d const &dy=Array1d()) const
Fill a vector whose dot product with a HERMITE coefficient vector evaluates a simple unscaled shapele...