lsst.meas.algorithms
14.0
|
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... | |
![]() | |
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 | |
![]() | |
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 |
![]() | |
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 |
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.
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 |
Return a clone with specified kernel dimensions.
Reimplemented from lsst::meas::algorithms::KernelPsf.