|
LSST Applications g013ef56533+b8d55c8942,g083dd6704c+a047e97985,g199a45376c+0ba108daf9,g1fd858c14a+7a3b874d60,g210f2d0738+7416ca6900,g262e1987ae+1d557ba9a3,g29ae962dfc+519d34895e,g2cef7863aa+aef1011c0b,g30d7c61c20+36d16ea71a,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+cb326ad149,g47891489e3+f459a6810c,g53246c7159+8c5ae1fdc5,g54cd7ddccb+890c8e1e5d,g5a60e81ecd+6240c63dbc,g64539dfbff+7416ca6900,g67b6fd64d1+f459a6810c,g6ebf1fc0d4+8c5ae1fdc5,g74acd417e5+0bae3c876a,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+f459a6810c,g8d7436a09f+dee7680868,g8ea07a8fe4+81eaaadc04,g90f42f885a+34c0557caf,g97be763408+14b8164b5b,g98a1a72a9c+8389601a76,g98df359435+fff771c62d,gb8cb2b794d+6728931916,gbf99507273+8c5ae1fdc5,gc2a301910b+7416ca6900,gca7fc764a6+f459a6810c,gd7ef33dd92+f459a6810c,gdab6d2f7ff+0bae3c876a,ge410e46f29+f459a6810c,ge41e95a9f2+7416ca6900,geaed405ab2+e3b4b2a692,gf9a733ac38+8c5ae1fdc5,w.2025.43
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.