Class KernelPsf

Inheritance Relationships

Base Types

Derived Types

Class Documentation

class KernelPsf : public lsst::afw::table::io::PersistableFacade<KernelPsf>, public lsst::meas::algorithms::ImagePsf

A Psf defined by a Kernel.

Subclassed by lsst::meas::algorithms::DoubleGaussianPsf, lsst::meas::algorithms::PcaPsf, lsst::meas::algorithms::SingleGaussianPsf

Public Functions

KernelPsf(afw::math::Kernel const &kernel, geom::Point2D const &averagePosition = geom::Point2D())

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.

PTR(afw::math::Kernel const) const

Return the Kernel used to define this Psf.

geom::Point2D getAveragePosition() const

Return average position of stars; used as default position.

PTR(afw::detection::Psf) const

Polymorphic deep copy.

PTR(afw::detection::Psf)

Return a clone with specified kernel dimensions.

bool isPersistable() const

Whether this object is persistable; just delegates to the kernel.

Public Members

int height const lsst::meas::algorithms::KernelPsf::override

Protected Functions

lsst::meas::algorithms::KernelPsf::KernelPsf(PTR ( afw::math::Kernel ) kernel, geom::Point2D const & averagePosition = geom::Point2D())

Construct a KernelPsf with the given kernel; it should not be modified afterwards.

std::string getPersistenceName() const
std::string getPythonModule() const
void write(OutputArchiveHandle &handle) const

Friends

friend lsst::meas::algorithms::KernelPsf::KernelPsfFactory