lsst.meas.algorithms  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
lsst::meas::algorithms::SingleGaussianPsf Class Reference

Represent a PSF as a circularly symmetrical Gaussian. More...

#include <SingleGaussianPsf.h>

Inheritance diagram for lsst::meas::algorithms::SingleGaussianPsf:
lsst::meas::algorithms::KernelPsf lsst::meas::algorithms::ImagePsf

Public Member Functions

 SingleGaussianPsf (int width, int height, double sigma)
 Constructor for a SingleGaussianPsf. More...
 
virtual boost::shared_ptr
< afw::detection::Psf > 
clone () const
 Polymorphic deep copy; should usually unnecessary because Psfs are immutable. More...
 
virtual boost::shared_ptr
< afw::detection::Psf > 
resized (int width, int height) const
 Return a clone with specified kernel dimensions. More...
 
double getSigma () const
 Return the radius of the Gaussian. More...
 
virtual bool isPersistable () const
 Whether the Psf is persistable; always true. More...
 
- Public Member Functions inherited from lsst::meas::algorithms::KernelPsf
 KernelPsf (afw::math::Kernel const &kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D())
 Construct a KernelPsf with a clone of the given kernel. More...
 
boost::shared_ptr
< afw::math::Kernel const > 
getKernel () const
 Return the Kernel used to define this Psf. More...
 
virtual afw::geom::Point2D getAveragePosition () const
 Return average position of stars; used as default position. More...
 

Protected Member Functions

virtual std::string getPersistenceName () const
 
virtual void write (OutputArchiveHandle &handle) const
 
- Protected Member Functions inherited from lsst::meas::algorithms::KernelPsf
 KernelPsf (boost::shared_ptr< afw::math::Kernel > kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D())
 Construct a KernelPsf with the given kernel; it should not be modified afterwards. More...
 
virtual std::string getPythonModule () const
 
- Protected Member Functions inherited from lsst::meas::algorithms::ImagePsf
 ImagePsf (bool isFixed=false)
 
virtual double doComputeApertureFlux (double radius, afw::geom::Point2D const &position, afw::image::Color const &color) const
 
virtual
afw::geom::ellipses::Quadrupole 
doComputeShape (afw::geom::Point2D const &position, afw::image::Color const &color) const
 

Friends

class boost::serialization::access
 

Detailed Description

Represent a PSF as a circularly symmetrical Gaussian.

Definition at line 37 of file SingleGaussianPsf.h.

Constructor & Destructor Documentation

lsst::meas::algorithms::SingleGaussianPsf::SingleGaussianPsf ( int  width,
int  height,
double  sigma 
)
explicit

Constructor for a SingleGaussianPsf.

Parameters
[in]widthNumber of columns in realizations of the PSF at a point.
[in]heightNumber of rows in realizations of the PSF at a point.
[in]sigmaRadius of the Gaussian.

Additional arguments are historical and ignored, and maybe be removed in the future.

Member Function Documentation

virtual boost::shared_ptr< afw::detection::Psf > lsst::meas::algorithms::SingleGaussianPsf::clone ( ) const
virtual

Polymorphic deep copy; should usually unnecessary because Psfs are immutable.

Reimplemented from lsst::meas::algorithms::KernelPsf.

virtual std::string lsst::meas::algorithms::SingleGaussianPsf::getPersistenceName ( ) const
protectedvirtual

Reimplemented from lsst::meas::algorithms::KernelPsf.

double lsst::meas::algorithms::SingleGaussianPsf::getSigma ( ) const
inline

Return the radius of the Gaussian.

Definition at line 58 of file SingleGaussianPsf.h.

virtual bool lsst::meas::algorithms::SingleGaussianPsf::isPersistable ( ) const
inlinevirtual

Whether the Psf is persistable; always true.

Reimplemented from lsst::meas::algorithms::KernelPsf.

Definition at line 61 of file SingleGaussianPsf.h.

virtual boost::shared_ptr< afw::detection::Psf > lsst::meas::algorithms::SingleGaussianPsf::resized ( int  width,
int  height 
) const
virtual

Return a clone with specified kernel dimensions.

Reimplemented from lsst::meas::algorithms::KernelPsf.

virtual void lsst::meas::algorithms::SingleGaussianPsf::write ( OutputArchiveHandle &  handle) const
protectedvirtual

Reimplemented from lsst::meas::algorithms::KernelPsf.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 73 of file SingleGaussianPsf.h.


The documentation for this class was generated from the following file: