24# if !defined(LSST_MEAS_EXTENSIONS_PSFEX_PSFEX_H)
25#define LSST_MEAS_EXTENSIONS_PSFEX_PSFEX_H 1
29#include "lsst/meas/extensions/psfex/psf.hh"
31namespace lsst {
namespace meas {
namespace extensions {
namespace psfex {
47 lsst::meas::extensions::psfex::Psf
const& psf,
table::Key< table::Array< int > > _size
table::Key< table::Array< float > > _comp
table::Key< float > _pixstep
Represent a PSF as a linear combination of PSFEX (== Karhunen-Loeve) basis functions.
std::shared_ptr< lsst::afw::math::LinearCombinationKernel const > getKernel(lsst::geom::Point2D=lsst::geom::Point2D(std::numeric_limits< double >::quiet_NaN())) const
Return the PSF's basis functions as a spatially-invariant LinearCombinationKernel with unit weights.
void write(lsst::afw::table::io::OutputArchiveHandle &handle) const override
lsst::geom::Point2D getAveragePosition() const override
Return average position of stars; used as default position.
std::shared_ptr< lsst::afw::detection::Psf > clone() const override
Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.
virtual std::shared_ptr< lsst::afw::detection::Psf::Image > _doComputeImage(lsst::geom::Point2D const &position, lsst::afw::image::Color const &color, lsst::geom::Point2D const ¢er) const
Compute an image of the Psf at the specified position/colour, at pixel position in the output image.
std::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
bool isPersistable() const noexcept override
Is this object persistable?