23#ifndef LSST_AFW_DETECTION_Psf_h_INCLUDED
24#define LSST_AFW_DETECTION_Psf_h_INCLUDED
81class
Psf : public afw::table::io::PersistableFacade<
Psf>,
82 public afw::typehandling::Storable {
284 return computeBBox(position, color);
308 unsigned int warpBuffer = 5);
367 using PsfCache = utils::Cache<detail::PsfCacheKey, std::shared_ptr<Image>>;
#define LSST_EXCEPTION_TYPE(t, b, c)
An exception thrown when we have an invalid PSF.
A polymorphic base class for representing an image's Point Spread Function.
Psf & operator=(Psf const &)=delete
std::shared_ptr< typehandling::Storable > cloneStorable() const override
Polymorphic deep-copy.
math::Kernel::Pixel Pixel
Pixel type of Image returned by computeImage.
virtual std::shared_ptr< Image > doComputeKernelImage(lsst::geom::Point2D const &position, image::Color const &color) const =0
These virtual member functions are private, not protected, because we only want derived classes to im...
Psf & operator=(Psf &&)=delete
virtual std::shared_ptr< Psf > resized(int width, int height) const =0
Return clone with specified kernel dimensions.
image::Color getAverageColor() const
Return the average Color of the stars used to construct the Psf.
virtual std::shared_ptr< Psf > clone() const =0
Polymorphic deep-copy.
ImageOwnerEnum
Enum passed to computeImage and computeKernelImage to determine image ownership.
virtual lsst::geom::Box2I doComputeBBox(lsst::geom::Point2D const &position, image::Color const &color) const =0
virtual double doComputeApertureFlux(double radius, lsst::geom::Point2D const &position, image::Color const &color) const =0
lsst::geom::Box2I computeKernelBBox(lsst::geom::Point2D position, image::Color color=image::Color()) const
Return the bounding box of the image returned by computeImage()
virtual geom::ellipses::Quadrupole doComputeShape(lsst::geom::Point2D const &position, image::Color const &color) const =0
An ellipse core with quadrupole moments as parameters.
Describe the colour of a source.
Point< double, 2 > Point2D