lsst.meas.algorithms
13.0-23-gb99accf8
|
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... | |
![]() | |
KernelPsf (afw::math::Kernel const &kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D()) | |
Construct a KernelPsf with a clone of the given kernel. 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 |
![]() | |
KernelPsf (boost::shared_ptr< afw::math::Kernel > kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D()) | |
Construct a KernelPsf with the given kernel; it should not be modified afterwards. More... | |
virtual std::string | getPythonModule () const |
![]() | |
ImagePsf (bool isFixed=false) | |
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.
|
inline |
Return the ratio of Gaussian peak amplitudes: outer/inner.
Definition at line 62 of file DoubleGaussianPsf.h.
|
protectedvirtual |
Reimplemented from lsst::meas::algorithms::KernelPsf.
Definition at line 143 of file DoubleGaussianPsf.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.