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>
85 doComputeKernelImage(geom::
Point2D const& position, afw::image::Color const& color) const override;
87 geom::
Box2I doComputeBBox(geom::
Point2D const& position, afw::image::Color const& color) const override;
89 PTR(afw::math::Kernel) _kernel;
afw::table::PointKey< double > averagePosition
io::OutputArchiveHandle OutputArchiveHandle
An intermediate base class for Psfs that use an image representation.
A PersistableFactory for KernelPsf and its subclasses.
A Psf defined by a Kernel.
boost::shared_ptr< afw::detection::Psf > clone() const override
Polymorphic deep copy.
KernelPsf(afw::math::Kernel const &kernel, geom::Point2D const &averagePosition=geom::Point2D())
Construct a KernelPsf with a clone of the given kernel.
bool isPersistable() const noexcept override
Whether this object is persistable; just delegates to the kernel.
boost::shared_ptr< afw::math::Kernel const > getKernel() const
Return the Kernel used to define this Psf.
boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
std::string getPersistenceName() const override
std::string getPythonModule() const override
void write(OutputArchiveHandle &handle) const override
geom::Point2D getAveragePosition() const override
Return average position of stars; used as default position.