lsst.meas.algorithms  13.0-16-g6e7f056
 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::DoubleGaussianPsf Class Reference

Represent a Psf as a circularly symmetrical double Gaussian. More...

#include <DoubleGaussianPsf.h>

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

Public Member Functions

 DoubleGaussianPsf (int width, int height, double sigma1, double sigma2=0.0, double b=0.0)
 Constructor for a DoubleGaussianPsf. More...
 
virtual boost::shared_ptr
< afw::detection::Psf > 
clone () const
 Polymorphic deep copy. Usually unnecessary, as 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 getSigma1 () const
 Return the radius of the inner Gaussian. More...
 
double getSigma2 () const
 Return the radius of the outer Gaussian. More...
 
double getB () const
 Return the ratio of Gaussian peak amplitudes: outer/inner. More...
 
virtual bool isPersistable () const
 Whether this Psf is persistable (always true for DoubleGaussianPsf). 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 double Gaussian.

Definition at line 35 of file DoubleGaussianPsf.h.

Constructor & Destructor Documentation

lsst::meas::algorithms::DoubleGaussianPsf::DoubleGaussianPsf ( int  width,
int  height,
double  sigma1,
double  sigma2 = 0.0,
double  b = 0.0 
)

Constructor for a DoubleGaussianPsf.

Parameters
[in]widthNumber of columns in realisations of Psf
[in]heightNumber of rows in realisations of Psf
[in]sigma1Radius of inner Gaussian
[in]sigma2Radius of outer Gaussian
[in]bRatio of Gaussian peak amplitudes: outer/inner

Definition at line 123 of file DoubleGaussianPsf.cc.

Member Function Documentation

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

Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.

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

Definition at line 128 of file DoubleGaussianPsf.cc.

double lsst::meas::algorithms::DoubleGaussianPsf::getB ( ) const
inline

Return the ratio of Gaussian peak amplitudes: outer/inner.

Definition at line 62 of file DoubleGaussianPsf.h.

std::string lsst::meas::algorithms::DoubleGaussianPsf::getPersistenceName ( ) const
protectedvirtual

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

Definition at line 143 of file DoubleGaussianPsf.cc.

double lsst::meas::algorithms::DoubleGaussianPsf::getSigma1 ( ) const
inline

Return the radius of the inner Gaussian.

Definition at line 56 of file DoubleGaussianPsf.h.

double lsst::meas::algorithms::DoubleGaussianPsf::getSigma2 ( ) const
inline

Return the radius of the outer Gaussian.

Definition at line 59 of file DoubleGaussianPsf.h.

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

Whether this Psf is persistable (always true for DoubleGaussianPsf).

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

Definition at line 65 of file DoubleGaussianPsf.h.

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

Return a clone with specified kernel dimensions.

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

Definition at line 136 of file DoubleGaussianPsf.cc.

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

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

Definition at line 145 of file DoubleGaussianPsf.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 78 of file DoubleGaussianPsf.h.


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