LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_SHAPELET_RadialProfile_h_INCLUDED
25 #define LSST_SHAPELET_RadialProfile_h_INCLUDED
31 namespace lsst {
namespace shapelet {
86 ndarray::Array<double,1,1>
evaluate(ndarray::Array<double const,1,1>
const & r)
const;
125 int _defaultMaxRadius;
131 #endif // !LSST_SHAPELET_RadialProfile_h_INCLUDED
Registry and utility class for multi-Gaussian approximations to radial profiles.
boost::shared_ptr< MultiShapeletBasis > getBasis(int nComponents, int maxRadius=0) const
Return a multi-Gaussian approximation to the radial profile.
virtual double evaluate(double r) const =0
Evaluate the profile at the given radius.
double _momentsRadiusFactor
RadialProfile(std::string const &name, int defaultMaxRadius)
ndarray::Array< double, 1, 1 > evaluate(ndarray::Array< double const, 1, 1 > const &r) const
Evaluate the profile at the given radius (vectorized).
A basis formed from a linear combination of shapelet bases that differ only in radius.
table::Key< table::Array< double > > basis
A base class for image defects.
static RadialProfile & get(std::string const &name)
Return a predefined radial profile given its name.
void registerBasis(boost::shared_ptr< MultiShapeletBasis > basis, int nComponents, int maxRadius)
Register a basis with the profile, making it available to callers of getBasis().
std::string const getName() const
Return the name of the profile.
double getMomentsRadiusFactor() const
Return the 2nd-moment radius in units of the half-light radius.