File KernelPsf.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 KernelPsf : public lsst::afw::table::io::PersistableFacade<KernelPsf>, public lsst::meas::algorithms::ImagePsf
#include <KernelPsf.h>

A Psf defined by a Kernel.

Subclassed by lsst::meas::algorithms::DoubleGaussianPsf, lsst::meas::algorithms::PcaPsf, lsst::meas::algorithms::SingleGaussianPsf

Public Functions

KernelPsf(afw::math::Kernel const &kernel, geom::Point2D const &averagePosition = geom::Point2D())

Construct a KernelPsf with a clone of the given kernel.

We clone the Kernel in the public constructor to ensure the Psf is immutable after construction (we don’t want someone with another copy of the Kernel to be able to modify the one held by the Psf).

Derived classes may use the protected constructor, which takes a shared_ptr to Kernel and does not copy it.

PTR(afw::math::Kernel const) const

Return the Kernel used to define this Psf.

geom::Point2D getAveragePosition() const

Return average position of stars; used as default position.

PTR(afw::detection::Psf) const

Polymorphic deep copy.

PTR(afw::detection::Psf)

Return a clone with specified kernel dimensions.

bool isPersistable() const

Whether this object is persistable; just delegates to the kernel.

Public Members

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

Protected Functions

lsst::meas::algorithms::KernelPsf::KernelPsf(PTR ( afw::math::Kernel ) kernel, geom::Point2D const & averagePosition = geom::Point2D())

Construct a KernelPsf with the given kernel; it should not be modified afterwards.

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

Private Functions

PTR(afw::math::Kernel)

Private Members

geom::Point2D _averagePosition

Friends

friend lsst::meas::algorithms::KernelPsfFactory