File DoubleGaussianPsf.h

namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace meas
namespace algorithms
class DoubleGaussianPsf : public lsst::afw::table::io::PersistableFacade<DoubleGaussianPsf>, public lsst::meas::algorithms::KernelPsf
#include <DoubleGaussianPsf.h>

Represent a Psf as a circularly symmetrical double Gaussian.

Public Functions

DoubleGaussianPsf(int width, int height, double sigma1, double sigma2 = 0.0, double b = 0.0)

Constructor for a DoubleGaussianPsf

Parameters
  • [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

PTR(afw::detection::Psf) const

Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.

PTR(afw::detection::Psf)

Return a clone with specified kernel dimensions.

double getSigma1() const

Return the radius of the inner Gaussian.

double getSigma2() const

Return the radius of the outer Gaussian.

double getB() const

Return the ratio of Gaussian peak amplitudes: outer/inner.

bool isPersistable() const

Whether this Psf is persistable (always true for DoubleGaussianPsf).

Public Members

int height const lsst::meas::algorithms::DoubleGaussianPsf::override

Protected Functions

std::string getPersistenceName() const
void write(OutputArchiveHandle &handle) const

Private Members

double _sigma1
double _sigma2
double _b