Loading [MathJax]/extensions/tex2jax.js
LSST Applications g044012fb7c+2a65cdf098,g04a91732dc+10fc851f12,g07dc498a13+195d1f135d,g1409bbee79+195d1f135d,g1a7e361dbc+195d1f135d,g1fd858c14a+8f3fe8f5cb,g2179890f76+6cf9093de3,g35bb328faa+0eb18584fe,g3bd4b5ce2c+c032696bd5,g3fa7bbdb64+d4f98599f0,g4e0f332c67+976ceb6bc8,g53246c7159+0eb18584fe,g5477a8d5ce+51234355ef,g60b5630c4e+08fbe2cc28,g68385bb32d+f37fe42b18,g78460c75b0+85633614c8,g786e29fd12+02b9b86fc9,g8852436030+270ef6db90,g89139ef638+195d1f135d,g8b49a6ea8e+08fbe2cc28,g9125e01d80+0eb18584fe,g9583089f3b+08fbe2cc28,g974caa22f6+0eb18584fe,g989de1cb63+195d1f135d,g9f33ca652e+5ce2034648,gaaedd4e678+195d1f135d,gabe3b4be73+543c3c03c9,gb1101e3267+26daace539,gb58c049af0+492386d360,gc99c83e5f0+a513197d39,gcf25f946ba+270ef6db90,gd6cbbdb0b4+3fef02d88a,gde0f65d7ad+3e62fa8f41,ge278dab8ac+ae64226a64,ge673f9641d+e40ad9942e,geab183fbe5+08fbe2cc28,gfba249425e+0eb18584fe,gfe7187db8c+c81932c5f4,w.2025.06
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
double sumIntegration (ndarray::Array< double const, 1 > const &coeff, int xMoment=0, int yMoment=0) const
 Integrate a simple unscaled shapelet expansion.
 
 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.
 

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 }
Key< Flag > const & target
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...

◆ 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 }
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.
table::Key< table::Array< double > > coeff
Definition PsfexPsf.cc:366

◆ 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: