2 #ifndef LSST_MEAS_ALGORITHMS_SHAPELETINTERPOLATION_H
3 #define LSST_MEAS_ALGORITHMS_SHAPELETINTERPOLATION_H
36 #include "boost/shared_ptr.hpp"
47 namespace algorithms {
49 class ShapeletInterpolationImpl;
72 typedef boost::shared_ptr<ShapeletInterpolation>
Ptr;
73 typedef boost::shared_ptr<const ShapeletInterpolation>
ConstPtr;
int getFitOrder() const
get the order of the fit
void setSigma(double sigma)
set a new value of sigma
A coordinate class intended to represent absolute positions.
int getFitSize() const
the number of fit coefficients
A class to contain the data, WCS, and other information needed to describe an image of the sky...
a container for holding hierarchical configuration data in memory.
Defines the Shapelet class.
Shapelet::ConstPtr interpolate(const PointD &pos) const
Perform the interpolation.
boost::shared_ptr< const Shapelet > ConstPtr
ShapeletInterpolation & operator=(const ShapeletInterpolation &rhs)
op= does a shallow copy
afw::table::Key< double > sigma
A collection of SpatialCells covering an entire image.
lsst::afw::geom::PointD PointD
lsst::afw::math::SpatialCellSet SpatialCellSet
boost::shared_ptr< ShapeletInterpolation > Ptr
This class is an interpolator to get a Shapelet at an arbitrary position.
lsst::meas::algorithms::Shapelet Shapelet
void calculate(SpatialCellSet::Ptr cellSet, const Exposure &exposure)
Calculate the interpolation parameters from a SpatialCellSet.
double interpolateSingleElement(const PointD &pos, int i) const
Perform the interpolation for only one shapelet coefficient.
ShapeletInterpolation(const Policy &policy)
Basic constructor just loads parameters from a policy file.
lsst::afw::image::Exposure< PixelT > Exposure
boost::shared_ptr< const ShapeletInterpolation > ConstPtr
double getSigma() const
get the scale size of the shapelet
int getOrder() const
get the order of the shapelet
Class to ensure constraints for spatial modeling.
~ShapeletInterpolation()
Destructor needs to delete pImpl.
boost::shared_ptr< SpatialCellSet > Ptr
int getSize() const
the size of the shapelet vector
ShapeletInterpolationImpl * pImpl
lsst::pex::policy::Policy Policy