23 #ifndef LSST_AFW_DETECTION_GaussianPsf_h_INCLUDED
24 #define LSST_AFW_DETECTION_GaussianPsf_h_INCLUDED
30 namespace lsst {
namespace afw {
namespace detection {
83 #if 0 // We could reimplement this more efficiently than what's in the base class,
87 geom::
Point2D const & position,
image::Color const& color
92 geom::
Point2D const & position,
image::Color const & color
96 double radius, geom::
Point2D const & position,
image::Color const & color
100 geom::
Point2D const & position,
image::Color const & color
109 #endif // !LSST_AFW_DETECTION_Psf_h_INCLUDED
virtual boost::shared_ptr< Image > doComputeKernelImage(geom::Point2D const &position, image::Color const &color) const
A coordinate class intended to represent absolute positions.
virtual bool isPersistable() const
Whether the Psf is persistable; always true.
virtual boost::shared_ptr< afw::detection::Psf > clone() const
Polymorphic deep copy; should usually be unnecessary because Psfs are immutable.
virtual geom::ellipses::Quadrupole doComputeShape(geom::Point2D const &position, image::Color const &color) const
io::OutputArchiveHandle OutputArchiveHandle
double getSigma() const
Return the radius of the Gaussian.
afw::table::Key< double > sigma
table::Key< table::Array< Kernel::Pixel > > image
afw::table::PointKey< int > dimensions
virtual std::string getPythonModule() const
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
GaussianPsf(int width, int height, double sigma)
Constructor for a GaussianPsf.
virtual void write(OutputArchiveHandle &handle) const
Write the object to one or more catalogs.
geom::Extent2I _dimensions
geom::Extent2I getDimensions() const
Return the dimensions of the images returned by computeImage()
virtual double doComputeApertureFlux(double radius, geom::Point2D const &position, image::Color const &color) const
Point< double, 2 > Point2D
A polymorphic base class for representing an image's Point Spread Function.
A coordinate class intended to represent offsets and dimensions.
A CRTP facade class for subclasses of Persistable.
image::Image< Pixel > Image
Image type returned by computeImage.
Extent< int, 2 > Extent2I
virtual std::string getPersistenceName() const
Return the unique name used to persist this object and look up its factory.
A circularly symmetric Gaussian Psf class with no spatial variation, intended mostly for testing purp...
virtual boost::shared_ptr< Image > doComputeImage(geom::Point2D const &position, image::Color const &color) const