23 #ifndef LSST_SHAPELET_MultiShapeletBasis_h_INCLUDED 24 #define LSST_SHAPELET_MultiShapeletBasis_h_INCLUDED 28 namespace lsst {
namespace shapelet {
67 ndarray::Array<double const,2,2>
getMatrix()
const {
return _matrix; }
74 ndarray::Array<double const,2,2> _matrix;
97 typedef ComponentVector::const_iterator
Iterator;
109 Iterator begin()
const {
return _components.begin(); }
111 Iterator
end()
const {
return _components.end(); }
119 void addComponent(
double radius,
int order, ndarray::Array<double const,2,2>
const & matrix);
122 void scale(
double factor);
144 ComponentVector _components;
149 #endif // !LSST_SHAPELET_MultiShapeletBasis_h_INCLUDED table::Key< table::Array< int > > _size
Iterator end() const
Iterator over the components (distinct shapelet bases) of the MultiShapeletBasis. ...
friend class MultiShapeletBasis
ndarray::Array< double const, 2, 2 > getMatrix() const
Matrix whose elements [i,j] map MultiShapeletBasis elements j to shapelet terms i.
Simple struct that represents one shapelet expansion in a MultiShapeletBasis.
def scale(algorithm, min, max=None, frame=None)
double getRadius() const
Return the radius of this shapelet expansion.
A basis formed from a linear combination of shapelet bases that differ only in radius.
int getOrder() const
Order of this shapelet expansion.
MultiShapeletBasisComponent(double radius, int order, ndarray::Array< double const, 2, 2 > const &matrix)
Main constructor for MultiShapeletBasisComponent.
MultiShapeletBasisComponent Component
A base class for image defects.
A multi-scale shapelet function.
An ellipse defined by an arbitrary BaseCore and a center point.
int getComponentCount() const
Return the number of components (distinct shapelet bases) in the MultiShapeletBasis.
std::vector< Component > ComponentVector
int getSize() const
Return the number of elements (i.e. free amplitudes) in the MultiShapeletBasis.
ItemVariant const * other
ComponentVector::const_iterator Iterator
ndarray::Array< double const, 2, 2 > coefficients