lsst.meas.algorithms
13.0-23-gb99accf8+8
|
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions. More...
#include <PcaPsf.h>
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... | |
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... | |
Protected Member Functions | |
virtual std::string | getPythonModule () const |
virtual void | write (OutputArchiveHandle &handle) const |
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 |
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
|
explicit |
Constructor for a PcaPsf.
[in] | kernel | Kernel that defines the Psf. |
[in] | averagePosition | Average position of stars used to construct the Psf. |
|
virtual |
Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.
Reimplemented from lsst::meas::algorithms::KernelPsf.
|
protectedvirtualinherited |
Definition at line 31 of file ImagePsf.cc.
|
protectedvirtualinherited |
Definition at line 46 of file ImagePsf.cc.
|
virtualinherited |
Return average position of stars; used as default position.
Definition at line 33 of file KernelPsf.cc.
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.
|
protectedvirtualinherited |
Definition at line 60 of file KernelPsf.cc.
|
virtualinherited |
Whether this object is persistable; just delegates to the kernel.
Reimplemented in lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::SingleGaussianPsf.
Definition at line 56 of file KernelPsf.cc.
|
virtual |
Return a clone with specified kernel dimensions.
Reimplemented from lsst::meas::algorithms::KernelPsf.
|
protectedvirtualinherited |
Reimplemented in lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::SingleGaussianPsf.
Definition at line 62 of file KernelPsf.cc.