lsst.meas.algorithms
13.0-23-gb99accf8+15
|
Represent a Psf as a circularly symmetrical double Gaussian. More...
#include <DoubleGaussianPsf.h>
Public Member Functions | |
DoubleGaussianPsf (int width, int height, double sigma1, double sigma2=0.0, double b=0.0) | |
Constructor for a DoubleGaussianPsf. More... | |
virtual boost::shared_ptr< afw::detection::Psf > | clone () const |
Polymorphic deep copy. Usually unnecessary, as Psfs are immutable. More... | |
virtual boost::shared_ptr< afw::detection::Psf > | resized (int width, int height) const |
Return a clone with specified kernel dimensions. More... | |
double | getSigma1 () const |
Return the radius of the inner Gaussian. More... | |
double | getSigma2 () const |
Return the radius of the outer Gaussian. More... | |
double | getB () const |
Return the ratio of Gaussian peak amplitudes: outer/inner. More... | |
virtual bool | isPersistable () const |
Whether this Psf is persistable (always true for DoubleGaussianPsf). More... | |
boost::shared_ptr< afw::math::Kernel const > | getKernel () const |
Return the Kernel used to define this Psf. More... | |
virtual afw::geom::Point2D | getAveragePosition () const |
Return average position of stars; used as default position. More... | |
Protected Member Functions | |
virtual std::string | getPersistenceName () const |
virtual void | write (OutputArchiveHandle &handle) const |
virtual std::string | getPythonModule () const |
virtual double | doComputeApertureFlux (double radius, afw::geom::Point2D const &position, afw::image::Color const &color) const |
virtual afw::geom::ellipses::Quadrupole | doComputeShape (afw::geom::Point2D const &position, afw::image::Color const &color) const |
Friends | |
class | boost::serialization::access |
Represent a Psf as a circularly symmetrical double Gaussian.
Definition at line 35 of file DoubleGaussianPsf.h.
lsst::meas::algorithms::DoubleGaussianPsf::DoubleGaussianPsf | ( | int | width, |
int | height, | ||
double | sigma1, | ||
double | sigma2 = 0.0 , |
||
double | b = 0.0 |
||
) |
Constructor for a DoubleGaussianPsf.
[in] | width | Number of columns in realisations of Psf |
[in] | height | Number of rows in realisations of Psf |
[in] | sigma1 | Radius of inner Gaussian |
[in] | sigma2 | Radius of outer Gaussian |
[in] | b | Ratio of Gaussian peak amplitudes: outer/inner |
Definition at line 123 of file DoubleGaussianPsf.cc.
|
virtual |
Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 128 of file DoubleGaussianPsf.cc.
|
protectedvirtualinherited |
Definition at line 31 of file ImagePsf.cc.
|
protectedvirtualinherited |
Definition at line 46 of file ImagePsf.cc.
|
virtualinherited |
Return average position of stars; used as default position.
Definition at line 33 of file KernelPsf.cc.
|
inline |
Return the ratio of Gaussian peak amplitudes: outer/inner.
Definition at line 62 of file DoubleGaussianPsf.h.
|
inlineinherited |
Return the Kernel used to define this Psf.
Definition at line 52 of file KernelPsf.h.
|
protectedvirtual |
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 143 of file DoubleGaussianPsf.cc.
|
protectedvirtualinherited |
Definition at line 60 of file KernelPsf.cc.
|
inline |
Return the radius of the inner Gaussian.
Definition at line 56 of file DoubleGaussianPsf.h.
|
inline |
Return the radius of the outer Gaussian.
Definition at line 59 of file DoubleGaussianPsf.h.
|
inlinevirtual |
Whether this Psf is persistable (always true for DoubleGaussianPsf).
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 65 of file DoubleGaussianPsf.h.
|
virtual |
Return a clone with specified kernel dimensions.
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 136 of file DoubleGaussianPsf.cc.
|
protectedvirtual |
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 145 of file DoubleGaussianPsf.cc.
|
friend |
Definition at line 78 of file DoubleGaussianPsf.h.