LSSTApplications  20.0.0
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 (geom::Extent2D const &offset)
 Shift the shapelet function by shifting the ellipse of each component. More...
 
void transformInPlace (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) {}

◆ 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 ( MultiShapeletFunction const &  other) const

Convolve the multi-shapelet function.

◆ convolve() [2/2]

MultiShapeletFunction lsst::shapelet::MultiShapeletFunction::convolve ( ShapeletFunction 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 ( geom::Extent2D const &  offset)

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

◆ transformInPlace()

void lsst::shapelet::MultiShapeletFunction::transformInPlace ( 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:
components
table::Key< table::Array< int > > components
Definition: LinearCombinationKernel.cc:301