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
|
Evaluates a MultiShapeletFunction. More...
#include <MultiShapeletFunction.h>
Public Types | |
typedef std::shared_ptr< MultiShapeletFunctionEvaluator > | Ptr |
typedef std::shared_ptr< MultiShapeletFunctionEvaluator const > | ConstPtr |
Public Member Functions | |
double | operator() (double x, double y) const |
Evaluate at the given point. | |
double | operator() (geom::Point2D const &point) const |
Evaluate at the given point. | |
double | operator() (geom::Extent2D const &point) const |
Evaluate at the given point. | |
ndarray::Array< double, 1, 1 > | operator() (ndarray::Array< double const, 1 > const &x, ndarray::Array< double const, 1 > const &y) const |
Evaluate at the given points, returning a newly-allocated array. | |
void | addToImage (ndarray::Array< double, 2, 1 > const &array, geom::Point2I const &xy0=geom::Point2I()) const |
Add the function to the given image-like array. | |
void | addToImage (afw::image::Image< double > &image) const |
Evaluate the function on the given image. | |
double | integrate () const |
Compute the definite integral or integral moments. | |
afw::geom::ellipses::Ellipse | computeMoments () const |
Return the unweighted dipole and quadrupole moments of the function as an ellipse. | |
void | update (MultiShapeletFunction const &function) |
Update the evaluator from the given function. | |
MultiShapeletFunctionEvaluator (MultiShapeletFunction const &function) | |
Construct an evaluator for the given function. | |
Evaluates a MultiShapeletFunction.
This is distinct from MultiShapeletFunction to allow the evaluator to construct temporaries and allocate workspace that will be reused when evaluating at multiple points.
A MultiShapeletFunctionEvaluator is invalidated whenever the MultiShapeletFunction it was constructed from is modified.
Definition at line 93 of file MultiShapeletFunction.h.
typedef std::shared_ptr<MultiShapeletFunctionEvaluator const> lsst::shapelet::MultiShapeletFunctionEvaluator::ConstPtr |
Definition at line 97 of file MultiShapeletFunction.h.
typedef std::shared_ptr<MultiShapeletFunctionEvaluator> lsst::shapelet::MultiShapeletFunctionEvaluator::Ptr |
Definition at line 96 of file MultiShapeletFunction.h.
|
explicit |
Construct an evaluator for the given function.
|
inline |
Evaluate the function on the given image.
Definition at line 123 of file MultiShapeletFunction.h.
void lsst::shapelet::MultiShapeletFunctionEvaluator::addToImage | ( | ndarray::Array< double, 2, 1 > const & | array, |
geom::Point2I const & | xy0 = geom::Point2I() ) const |
Add the function to the given image-like array.
afw::geom::ellipses::Ellipse lsst::shapelet::MultiShapeletFunctionEvaluator::computeMoments | ( | ) | const |
Return the unweighted dipole and quadrupole moments of the function as an ellipse.
double lsst::shapelet::MultiShapeletFunctionEvaluator::integrate | ( | ) | const |
Compute the definite integral or integral moments.
|
inline |
Evaluate at the given point.
Definition at line 100 of file MultiShapeletFunction.h.
double lsst::shapelet::MultiShapeletFunctionEvaluator::operator() | ( | geom::Extent2D const & | point | ) | const |
Evaluate at the given point.
double lsst::shapelet::MultiShapeletFunctionEvaluator::operator() | ( | geom::Point2D const & | point | ) | const |
Evaluate at the given point.
ndarray::Array< double, 1, 1 > lsst::shapelet::MultiShapeletFunctionEvaluator::operator() | ( | ndarray::Array< double const, 1 > const & | x, |
ndarray::Array< double const, 1 > const & | y ) const |
Evaluate at the given points, returning a newly-allocated array.
void lsst::shapelet::MultiShapeletFunctionEvaluator::update | ( | MultiShapeletFunction const & | function | ) |
Update the evaluator from the given function.