lsst.meas.algorithms
20.0.0-3-gbdbfa727+2
|
Go to the documentation of this file.
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;
97 #endif // !LSST_MEAS_ALGORITHMS_KernelPsf_h_INCLUDED
bool isPersistable() const noexcept override
Whether this object is persistable; just delegates to the kernel.
A PersistableFactory for KernelPsf and its subclasses.
boost::shared_ptr< afw::detection::Psf > clone() const override
Polymorphic deep copy.
boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
afw::table::PointKey< double > averagePosition
geom::Point2D getAveragePosition() const override
Return average position of stars; used as default position.
void write(OutputArchiveHandle &handle) const override
std::string getPersistenceName() const override
boost::shared_ptr< afw::math::Kernel const > getKernel() const
Return the Kernel used to define this Psf.
A Psf defined by a Kernel.
KernelPsf(afw::math::Kernel const &kernel, geom::Point2D const &averagePosition=geom::Point2D())
Construct a KernelPsf with a clone of the given kernel.
io::OutputArchiveHandle OutputArchiveHandle
std::string getPythonModule() const override
An intermediate base class for Psfs that use an image representation.