lsst.meas.algorithms  13.0-16-g6e7f056
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
lsst::meas::algorithms::PcaPsf Class Reference

Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions. More...

#include <PcaPsf.h>

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

Public Member Functions

 PcaPsf (boost::shared_ptr< afw::math::LinearCombinationKernel > kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D())
 Constructor for a PcaPsf. More...
 
virtual boost::shared_ptr
< afw::detection::Psf > 
clone () const
 Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x. More...
 
virtual boost::shared_ptr
< afw::detection::Psf > 
resized (int width, int height) const
 Return a clone with specified kernel dimensions. More...
 
boost::shared_ptr
< afw::math::LinearCombinationKernel
const > 
getKernel () const
 PcaPsf always has a LinearCombinationKernel, so we can override getKernel to make it more useful. 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...
 
virtual bool isPersistable () const
 Whether this object is persistable; just delegates to the kernel. More...
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- 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
 
virtual void write (OutputArchiveHandle &handle) 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
 

Detailed Description

Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.

Definition at line 34 of file PcaPsf.h.

Constructor & Destructor Documentation

lsst::meas::algorithms::PcaPsf::PcaPsf ( boost::shared_ptr< afw::math::LinearCombinationKernel >  kernel,
afw::geom::Point2D const &  averagePosition = afw::geom::Point2D() 
)
explicit

Constructor for a PcaPsf.

Parameters
[in]kernelKernel that defines the Psf.
[in]averagePositionAverage position of stars used to construct the Psf.

Member Function Documentation

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

Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.

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

boost::shared_ptr< afw::math::LinearCombinationKernel const > lsst::meas::algorithms::PcaPsf::getKernel ( ) const

PcaPsf always has a LinearCombinationKernel, so we can override getKernel to make it more useful.

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

Return a clone with specified kernel dimensions.

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

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 62 of file PcaPsf.h.


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