LSSTApplications  18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
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) {}
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 ( 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: