23 #ifndef LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED
24 #define LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED
28 namespace lsst {
namespace meas {
namespace algorithms {
67 PTR(afw::math::Kernel) kernel,
86 afw::geom::Point2D const & position,
87 afw::
image::Color const & color
96 #endif // !LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED
boost::shared_ptr< afw::math::Kernel > _kernel
virtual boost::shared_ptr< Image > doComputeKernelImage(afw::geom::Point2D const &position, afw::image::Color const &color) const
A Psf defined by a Kernel.
Point< double, 2 > Point2D
virtual boost::shared_ptr< afw::detection::Psf > clone() const
Polymorphic deep copy.
table::Key< table::Array< Kernel::Pixel > > image
virtual bool isPersistable() const
Whether this object is persistable; just delegates to the kernel.
KernelPsf(afw::math::Kernel const &kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D())
Construct a KernelPsf with a clone of the given kernel.
boost::shared_ptr< afw::math::Kernel const > getKernel() const
Return the Kernel used to define this Psf.
virtual afw::geom::Point2D getAveragePosition() const
Return average position of stars; used as default position.
afw::geom::Point2D _averagePosition
virtual std::string getPythonModule() const
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
io::OutputArchiveHandle OutputArchiveHandle
An intermediate base class for Psfs that use an image representation.
tbl::PointKey< double > averagePosition
A PersistableFactory for KernelPsf and its subclasses.
A polymorphic base class for representing an image's Point Spread Function.
A CRTP facade class for subclasses of Persistable.
Kernels are used for convolution with MaskedImages and (eventually) Images.
virtual void write(OutputArchiveHandle &handle) const
Write the object to one or more catalogs.
virtual std::string getPersistenceName() const
Return the unique name used to persist this object and look up its factory.