lsst.meas.extensions.psfex  13.0-5-gd2c5893+9
 All Classes Namespaces Files Functions Variables Friends Macros Groups
Public Member Functions | Friends | List of all members
lsst::meas::extensions::psfex::PsfexPsf Class Reference

Represent a PSF as a linear combination of PSFEX (== Karhunen-Loeve) basis functions. More...

#include <PsfexPsf.h>

Inheritance diagram for lsst::meas::extensions::psfex::PsfexPsf:

Public Member Functions

 PsfexPsf (lsst::meas::extensions::psfex::Psf const &psf, lsst::afw::geom::Point2D const &averagePosition=lsst::afw::geom::Point2D())
 Constructor for a PsfexPsf. More...
 
virtual ~PsfexPsf ()
 
virtual boost::shared_ptr
< lsst::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...
 
virtual lsst::afw::geom::Point2D getAveragePosition () const
 Return average position of stars; used as default position. More...
 
boost::shared_ptr
< lsst::afw::math::LinearCombinationKernel
const > 
getKernel (lsst::afw::geom::Point2D=lsst::afw::geom::Point2D(std::numeric_limits< double >::quiet_NaN())) const
 Return the PSF's basis functions as a spatially-invariant LinearCombinationKernel with unit weights. More...
 
virtual bool isPersistable () const
 Is this object persistable? More...
 
void write (lsst::afw::table::io::OutputArchiveHandle &handle) const
 

Friends

class detail::PsfexPsfFactory
 

Detailed Description

Represent a PSF as a linear combination of PSFEX (== Karhunen-Loeve) basis functions.

Definition at line 38 of file PsfexPsf.h.

Constructor & Destructor Documentation

lsst::meas::extensions::psfex::PsfexPsf::PsfexPsf ( lsst::meas::extensions::psfex::Psf const &  psf,
lsst::afw::geom::Point2D const &  averagePosition = lsst::afw::geom::Point2D() 
)
explicit

Constructor for a PsfexPsf.

Parameters
[in]psfPsfex PSF model to be wrapped into an LSST Psf
[in]averagePositionAverage position of stars used to construct the Psf.
lsst::meas::extensions::psfex::PsfexPsf::~PsfexPsf ( )
virtual

Definition at line 84 of file PsfexPsf.cc.

Member Function Documentation

boost::shared_ptr< afw::detection::Psf > lsst::meas::extensions::psfex::PsfexPsf::clone ( ) const
virtual

Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.

Definition at line 90 of file PsfexPsf.cc.

virtual lsst::afw::geom::Point2D lsst::meas::extensions::psfex::PsfexPsf::getAveragePosition ( ) const
inlinevirtual

Return average position of stars; used as default position.

Definition at line 59 of file PsfexPsf.h.

boost::shared_ptr< afw::math::LinearCombinationKernel const > lsst::meas::extensions::psfex::PsfexPsf::getKernel ( lsst::afw::geom::Point2D  = lsst::afw::geom::Point2D(std::numeric_limits<double>::quiet_NaN())) const

Return the PSF's basis functions as a spatially-invariant LinearCombinationKernel with unit weights.

Definition at line 100 of file PsfexPsf.cc.

virtual bool lsst::meas::extensions::psfex::PsfexPsf::isPersistable ( ) const
inlinevirtual

Is this object persistable?

Definition at line 68 of file PsfexPsf.h.

boost::shared_ptr< afw::detection::Psf > lsst::meas::extensions::psfex::PsfexPsf::resized ( int  width,
int  height 
) const
virtual

Return a clone with specified kernel dimensions.

Definition at line 95 of file PsfexPsf.cc.

void lsst::meas::extensions::psfex::PsfexPsf::write ( lsst::afw::table::io::OutputArchiveHandle &  handle) const

Definition at line 465 of file PsfexPsf.cc.

Friends And Related Function Documentation

friend class detail::PsfexPsfFactory
friend

Definition at line 40 of file PsfexPsf.h.


The documentation for this class was generated from the following files: