lsst.meas.algorithms
13.0-24-g22030a45+9
|
A Psf defined by a Kernel. More...
#include <KernelPsf.h>
Public Member Functions | |
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 boost::shared_ptr< afw::detection::Psf > | clone () const |
Polymorphic deep copy. More... | |
virtual boost::shared_ptr< afw::detection::Psf > | resized (int width, int height) const |
Return a clone with specified kernel dimensions. More... | |
virtual bool | isPersistable () const |
Whether this object is persistable; just delegates to the kernel. More... | |
Protected Member Functions | |
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 | getPersistenceName () const |
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 | |
template<typename T , typename K > | |
class | KernelPsfFactory |
A Psf defined by a Kernel.
Definition at line 33 of file KernelPsf.h.
|
explicit |
Construct a KernelPsf with a clone of the given kernel.
We clone the Kernel in the public constructor to ensure the Psf is immutable after construction (we don't want someone with another copy of the Kernel to be able to modify the one held by the Psf).
Derived classes may use the protected constructor, which takes a shared_ptr to Kernel and does not copy it.
Definition at line 22 of file KernelPsf.cc.
|
explicitprotected |
Construct a KernelPsf with the given kernel; it should not be modified afterwards.
Definition at line 25 of file KernelPsf.cc.
|
virtual |
Polymorphic deep copy.
Reimplemented in lsst::meas::algorithms::SingleGaussianPsf, lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::PcaPsf.
Definition at line 28 of file KernelPsf.cc.
|
protectedvirtualinherited |
Definition at line 31 of file ImagePsf.cc.
|
protectedvirtualinherited |
Definition at line 46 of file ImagePsf.cc.
|
virtual |
Return average position of stars; used as default position.
Definition at line 33 of file KernelPsf.cc.
|
inline |
Return the Kernel used to define this Psf.
Definition at line 52 of file KernelPsf.h.
|
protectedvirtual |
Reimplemented in lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::SingleGaussianPsf.
Definition at line 58 of file KernelPsf.cc.
|
protectedvirtual |
Definition at line 60 of file KernelPsf.cc.
|
virtual |
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 in lsst::meas::algorithms::SingleGaussianPsf, lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::PcaPsf.
Definition at line 30 of file KernelPsf.cc.
|
protectedvirtual |
Reimplemented in lsst::meas::algorithms::DoubleGaussianPsf, and lsst::meas::algorithms::SingleGaussianPsf.
Definition at line 62 of file KernelPsf.cc.
|
friend |
Definition at line 84 of file KernelPsf.h.