lsst.meas.algorithms
14.0-7-g23fdbe95+10
|
A class to contain various attributes of the Psf. More...
#include <PSF.h>
Public Types | |
enum | Method { ADAPTIVE_MOMENT, FIRST_MOMENT, SECOND_MOMENT, NOISE_EQUIVALENT, BICKERTON } |
Public Member Functions | |
PsfAttributes (boost::shared_ptr< lsst::afw::detection::Psf const > psf, int const iX, int const iY) | |
Constructor for PsfAttributes. More... | |
PsfAttributes (boost::shared_ptr< lsst::afw::detection::Psf const > psf, lsst::afw::geom::Point2I const &cen) | |
Constructor for PsfAttributes. More... | |
double | computeGaussianWidth (Method how=ADAPTIVE_MOMENT) const |
Compute the 'sigma' value for an equivalent gaussian psf. More... | |
double | computeEffectiveArea () const |
Compute the effective area of the psf ( sum(I)^2/sum(I^2) ) More... | |
A class to contain various attributes of the Psf.
An example of the new API is:
lsst::meas::algorithms::PsfAttributes::PsfAttributes | ( | boost::shared_ptr< lsst::afw::detection::Psf const > | psf, |
int const | iX, | ||
int const | iY | ||
) |
Constructor for PsfAttributes.
psf | The psf whose attributes we want |
iX | the x position in the frame we want the attributes at |
iY | the y position in the frame we want the attributes at |
Definition at line 60 of file PsfAttributes.cc.
lsst::meas::algorithms::PsfAttributes::PsfAttributes | ( | boost::shared_ptr< lsst::afw::detection::Psf const > | psf, |
lsst::afw::geom::Point2I const & | cen | ||
) |
Constructor for PsfAttributes.
psf | The psf whose attributes we want |
cen | the position in the frame we want the attributes at |
Definition at line 73 of file PsfAttributes.cc.
double lsst::meas::algorithms::PsfAttributes::computeEffectiveArea | ( | ) | const |
Compute the effective area of the psf ( sum(I)^2/sum(I^2) )
Definition at line 355 of file PsfAttributes.cc.
double lsst::meas::algorithms::PsfAttributes::computeGaussianWidth | ( | PsfAttributes::Method | how = ADAPTIVE_MOMENT | ) | const |
Compute the 'sigma' value for an equivalent gaussian psf.
Definition at line 300 of file PsfAttributes.cc.