24 #ifndef LSST_MEAS_ALGORITHMS_PcaPsf_h_INCLUDED 25 #define LSST_MEAS_ALGORITHMS_PcaPsf_h_INCLUDED 32 namespace algorithms {
59 std::string getPersistenceName()
const override {
return "PcaPsf"; }
66 #endif // !LSST_MEAS_ALGORITHMS_PcaPsf_h_INCLUDED boost::shared_ptr< afw::detection::Psf > clone() const override
Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.
A Psf defined by a Kernel.
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
A base class for image defects.
A kernel that is a linear combination of fixed basis kernels.
afw::table::PointKey< double > averagePosition
A polymorphic base class for representing an image's Point Spread Function.
A CRTP facade class for subclasses of Persistable.
PcaPsf(boost::shared_ptr< afw::math::LinearCombinationKernel > kernel, geom::Point2D const &averagePosition=geom::Point2D())
Constructor for a PcaPsf.
boost::shared_ptr< afw::math::LinearCombinationKernel const > getKernel() const
PcaPsf always has a LinearCombinationKernel, so we can override getKernel to make it more useful...