LSSTApplications  17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
LSSTDataManagementBasePackage
Public Types | Public Member Functions | List of all members
lsst::shapelet::MultiShapeletFunction Class Reference

A multi-scale shapelet function. More...

#include <MultiShapeletFunction.h>

Public Types

typedef std::shared_ptr< MultiShapeletFunctionPtr
 
typedef std::shared_ptr< MultiShapeletFunction const > ConstPtr
 
typedef MultiShapeletFunctionEvaluator Evaluator
 
typedef ShapeletFunction Component
 
typedef std::vector< ComponentComponentList
 

Public Member Functions

ComponentListgetComponents ()
 
ComponentList const & getComponents () const
 
void normalize (double value=1.0)
 Normalize the integral of the shapelet function to the given value. More...
 
void shiftInPlace (afw::geom::Extent2D const &offset)
 Shift the shapelet function by shifting the ellipse of each component. More...
 
void transformInPlace (afw::geom::AffineTransform const &transform)
 Transform the shapelet function by transforming the ellipse of each component. More...
 
MultiShapeletFunction convolve (ShapeletFunction const &other) const
 Convolve the multi-shapelet function. More...
 
MultiShapeletFunction convolve (MultiShapeletFunction const &other) const
 Convolve the multi-shapelet function. More...
 
Evaluator evaluate () const
 Construct a helper object that can efficiently evaluate the function. More...
 
 MultiShapeletFunction ()
 
 MultiShapeletFunction (MultiShapeletFunction const &other)=default
 
 MultiShapeletFunction (ComponentList const &components)
 
 MultiShapeletFunction (ShapeletFunction const &component)
 

Detailed Description

A multi-scale shapelet function.

Definition at line 38 of file MultiShapeletFunction.h.

Member Typedef Documentation

◆ Component

Definition at line 46 of file MultiShapeletFunction.h.

◆ ComponentList

Definition at line 48 of file MultiShapeletFunction.h.

◆ ConstPtr

Definition at line 42 of file MultiShapeletFunction.h.

◆ Evaluator

Definition at line 44 of file MultiShapeletFunction.h.

◆ Ptr

Definition at line 41 of file MultiShapeletFunction.h.

Constructor & Destructor Documentation

◆ MultiShapeletFunction() [1/4]

lsst::shapelet::MultiShapeletFunction::MultiShapeletFunction ( )
inline

Definition at line 72 of file MultiShapeletFunction.h.

72 : _components() {}

◆ MultiShapeletFunction() [2/4]

lsst::shapelet::MultiShapeletFunction::MultiShapeletFunction ( MultiShapeletFunction const &  other)
default

◆ MultiShapeletFunction() [3/4]

lsst::shapelet::MultiShapeletFunction::MultiShapeletFunction ( ComponentList const &  components)
inlineexplicit

Definition at line 76 of file MultiShapeletFunction.h.

76 : _components(components) {}
table::Key< table::Array< int > > components

◆ MultiShapeletFunction() [4/4]

lsst::shapelet::MultiShapeletFunction::MultiShapeletFunction ( ShapeletFunction const &  component)
inlineexplicit

Definition at line 78 of file MultiShapeletFunction.h.

78 : _components(1, component) {}

Member Function Documentation

◆ convolve() [1/2]

MultiShapeletFunction lsst::shapelet::MultiShapeletFunction::convolve ( ShapeletFunction const &  other) const

Convolve the multi-shapelet function.

◆ convolve() [2/2]

MultiShapeletFunction lsst::shapelet::MultiShapeletFunction::convolve ( MultiShapeletFunction const &  other) const

Convolve the multi-shapelet function.

◆ evaluate()

MultiShapeletFunctionEvaluator lsst::shapelet::MultiShapeletFunction::evaluate ( ) const
inline

Construct a helper object that can efficiently evaluate the function.

Definition at line 145 of file MultiShapeletFunction.h.

145  {
146  return MultiShapeletFunctionEvaluator(*this);
147 }

◆ getComponents() [1/2]

ComponentList& lsst::shapelet::MultiShapeletFunction::getComponents ( )
inline

Definition at line 50 of file MultiShapeletFunction.h.

50 { return _components; }

◆ getComponents() [2/2]

ComponentList const& lsst::shapelet::MultiShapeletFunction::getComponents ( ) const
inline

Definition at line 52 of file MultiShapeletFunction.h.

52 { return _components; }

◆ normalize()

void lsst::shapelet::MultiShapeletFunction::normalize ( double  value = 1.0)

Normalize the integral of the shapelet function to the given value.

◆ shiftInPlace()

void lsst::shapelet::MultiShapeletFunction::shiftInPlace ( afw::geom::Extent2D const &  offset)

Shift the shapelet function by shifting the ellipse of each component.

◆ transformInPlace()

void lsst::shapelet::MultiShapeletFunction::transformInPlace ( afw::geom::AffineTransform const &  transform)

Transform the shapelet function by transforming the ellipse of each component.


The documentation for this class was generated from the following file: