Class MultiShapeletBasisComponent

Class Documentation

class MultiShapeletBasisComponent

Simple struct that represents one shapelet expansion in a MultiShapeletBasis.

A MultiShapeletBasis is formed by the linear combination of several shapelet bases with different radii and common ellipticity; this represents a single shapelet basis within the MultiShapeletBasis.

Note

This really ought to be an inner class, and should generally be referred to via the MultiShapeletBasis::Component typedef, but Swig doesn’t handle inner classes.

Public Functions

MultiShapeletBasisComponent(double radius, int order, ndarray::Array<double const, 2, 2> const &matrix)

Main constructor for MultiShapeletBasisComponent.

Should usually only be called by MultiShapeletBasis::addComponent.

Note that matrix elements follow the amplitude convention defined by

ShapeletFunction; values are proportional to flux, not surface brightness.
Parameters
  • [in] radius: Radius of the shapelet expansion defined by this component.

  • [in] order: Order of the shapelet expansion.

  • [in] matrix: Matrix whose elements [i,j] map MultiShapeletBasis elements j to shapelet terms i; must have dimensions [computeSize(order), basis.getSize()], where “basis” is the MultiShapeletBasis this component is attached to. Will be deep-copied by the constructor.

double getRadius() const

Return the radius of this shapelet expansion.

int getOrder() const

Order of this shapelet expansion.

ndarray::Array<double const, 2, 2> getMatrix() const

Matrix whose elements [i,j] map MultiShapeletBasis elements j to shapelet terms i.