25 #ifndef LSST_AFW_MATH_SHAPELETS_MULTISHAPELETFUNCTION_H 26 #define LSST_AFW_MATH_SHAPELETS_MULTISHAPELETFUNCTION_H 31 namespace lsst {
namespace shapelet {
33 class MultiShapeletFunctionEvaluator;
81 ComponentList _components;
111 ndarray::Array<double,1,1> operator()(
112 ndarray::Array<double const,1>
const &
x,
113 ndarray::Array<double const,1>
const &
y 118 ndarray::Array<double,2,1>
const & array,
142 ComponentList _components;
151 #endif // !defined(LSST_AFW_MATH_SHAPELETS_MULTISHAPELETFUNCTION_H) ShapeletFunction Component
table::Key< table::Array< int > > components
MultiShapeletFunctionEvaluator Evaluator
void addToImage(afw::image::Image< double > &image) const
Evaluate the function on the given image.
ComponentList & getComponents()
MultiShapeletFunction(ComponentList const &components)
void normalize(double value=1.0)
Normalize the integral of the shapelet function to the given value.
Evaluates a MultiShapeletFunction.
A base class for image defects.
Evaluator evaluate() const
Construct a helper object that can efficiently evaluate the function.
A multi-scale shapelet function.
Evaluates a ShapeletFunction.
ComponentList const & getComponents() const
double operator()(double x, double y) const
Evaluate at the given point.
An ellipse defined by an arbitrary BaseCore and a center point.
std::shared_ptr< MultiShapeletFunction const > ConstPtr
lsst::geom::Point2I getXY0() const
Return the image's origin.
void transformInPlace(afw::geom::AffineTransform const &transform)
Transform the shapelet function by transforming the ellipse of each component.
std::vector< Component > ComponentList
MultiShapeletFunction(ShapeletFunction const &component)
void addToImage(boost::shared_ptr< afw::image::Image< double > > image, std::vector< boost::shared_ptr< afw::image::Image< double > >> const &imgVector, std::vector< double > const &weightVector)
void shiftInPlace(afw::geom::Extent2D const &offset)
Shift the shapelet function by shifting the ellipse of each component.
ItemVariant const * other
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
std::shared_ptr< MultiShapeletFunction > Ptr
A 2-d function defined by an expansion onto a Gauss-Laguerre or Gauss-Hermite basis.
A class to represent a 2-dimensional array of pixels.
MultiShapeletFunction convolve(ShapeletFunction const &other) const
Convolve the multi-shapelet function.
UnaryFunctionT::result_type integrate(UnaryFunctionT func, typename UnaryFunctionT::argument_type const a, typename UnaryFunctionT::argument_type const b, double eps=1.0e-6)
The 1D integrator.
std::shared_ptr< MultiShapeletFunctionEvaluator const > ConstPtr
std::shared_ptr< MultiShapeletFunctionEvaluator > Ptr