Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
More...
#include <PcaPsf.h>
|
| 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...
|
|
|
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 |
|
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
Definition at line 34 of file PcaPsf.h.
◆ PcaPsf()
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] | kernel | Kernel that defines the Psf. |
[in] | averagePosition | Average position of stars used to construct the Psf. |
◆ clone()
virtual boost::shared_ptr< afw::detection::Psf > lsst::meas::algorithms::PcaPsf::clone |
( |
| ) |
const |
|
virtual |
◆ doComputeApertureFlux()
double lsst::meas::algorithms::ImagePsf::doComputeApertureFlux |
( |
double |
radius, |
|
|
afw::geom::Point2D const & |
position, |
|
|
afw::image::Color const & |
color |
|
) |
| const |
|
protectedvirtualinherited |
◆ doComputeShape()
afw::geom::ellipses::Quadrupole lsst::meas::algorithms::ImagePsf::doComputeShape |
( |
afw::geom::Point2D const & |
position, |
|
|
afw::image::Color const & |
color |
|
) |
| const |
|
protectedvirtualinherited |
◆ getAveragePosition()
afw::geom::Point2D lsst::meas::algorithms::KernelPsf::getAveragePosition |
( |
| ) |
const |
|
virtualinherited |
Return average position of stars; used as default position.
Definition at line 33 of file KernelPsf.cc.
◆ getKernel()
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.
◆ getPythonModule()
std::string lsst::meas::algorithms::KernelPsf::getPythonModule |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ isPersistable()
bool lsst::meas::algorithms::KernelPsf::isPersistable |
( |
| ) |
const |
|
virtualinherited |
◆ resized()
virtual boost::shared_ptr< afw::detection::Psf > lsst::meas::algorithms::PcaPsf::resized |
( |
int |
width, |
|
|
int |
height |
|
) |
| const |
|
virtual |
◆ write()
void lsst::meas::algorithms::KernelPsf::write |
( |
OutputArchiveHandle & |
handle | ) |
const |
|
protectedvirtualinherited |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
The documentation for this class was generated from the following file: