23 #ifndef LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED 24 #define LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED 31 namespace algorithms {
80 template <
typename T,
typename K>
97 #endif // !LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED A Psf defined by a Kernel.
boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
boost::shared_ptr< afw::math::Kernel const > getKernel() const
Return the Kernel used to define this Psf.
void write(OutputArchiveHandle &handle) const override
afw::table::PointKey< double > averagePosition
std::string getPythonModule() const override
boost::shared_ptr< afw::detection::Psf > clone() const override
Polymorphic deep copy.
io::OutputArchiveHandle OutputArchiveHandle
An intermediate base class for Psfs that use an image representation.
A PersistableFactory for KernelPsf and its subclasses.
bool isPersistable() const noexcept override
Whether this object is persistable; just delegates to the kernel.
std::string getPersistenceName() const override
KernelPsf(afw::math::Kernel const &kernel, geom::Point2D const &averagePosition=geom::Point2D())
Construct a KernelPsf with a clone of the given kernel.
geom::Point2D getAveragePosition() const override
Return average position of stars; used as default position.