25 #if !defined(LSST_MEAS_ALGORITHMS_PSF_H)
26 #define LSST_MEAS_ALGORITHMS_PSF_H
31 #include "lsst/base.h"
39 template<
typename T,
int N>
class Point;
43 template<
typename T>
class Image;
47 namespace algorithms {
75 PsfAttributes(CONST_PTR(lsst::afw::detection::Psf) psf,
int const iX,
int const iY);
Calculate width as sqrt(n_eff/(4 pi))
PsfAttributes(boost::shared_ptr< lsst::afw::detection::Psf const > psf, int const iX, int const iY)
Constructor for PsfAttributes.
A class to contain various attributes of the Psf.
Calculate width using <r^2>
double computeEffectiveArea() const
Compute the effective area of the psf ( sum(I)^2/sum(I^2) )
Calculate width using <r>
Weight <r^2> by I^2 to avoid negative fluxes.
Calculate width using adaptive Gaussian weights.
double computeGaussianWidth(Method how=ADAPTIVE_MOMENT) const
Compute the 'sigma' value for an equivalent gaussian psf.