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"
31 namespace lsst {
namespace meas {
namespace extensions {
namespace psfex {
47 lsst::meas::extensions::psfex::Psf
const& psf,
table::Key< table::Array< int > > _size
table::PointKey< double > averagePosition
table::Key< table::Array< float > > _comp
table::Key< float > _pixstep
Represent a PSF as a linear combination of PSFEX (== Karhunen-Loeve) basis functions.
virtual boost::shared_ptr< lsst::afw::detection::Psf::Image > doComputeImage(lsst::geom::Point2D const &position, lsst::afw::image::Color const &color) const
Compute an image of the Psf at the specified position/colour, at pixel position in the output image.
boost::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.
virtual lsst::geom::Point2D getAveragePosition() const
Return average position of stars; used as default position.
virtual boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const
Return a clone with specified kernel dimensions.
virtual boost::shared_ptr< lsst::afw::detection::Psf::Image > doComputeKernelImage(lsst::geom::Point2D const &position, lsst::afw::image::Color const &color) const
Compute an image of the Psf at the specified position/colour, at pixel (0.0, 0.0) in the output image...
virtual lsst::geom::Box2I doComputeBBox(lsst::geom::Point2D const &position, lsst::afw::image::Color const &color) const
Compute the bbox of the kernel image at the specified position/color.
virtual std::string getPythonModule() const
The python module name (for use in table persistence)
virtual std::string getPersistenceName() const
Name used in table persistence.
virtual boost::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.
void write(lsst::afw::table::io::OutputArchiveHandle &handle) const
virtual bool isPersistable() const noexcept override
Is this object persistable?
virtual boost::shared_ptr< lsst::afw::detection::Psf > clone() const
Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.