File ExposurePatch.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

Functions

template<typename ExposureT>
PTR(ExposurePatch<ExposureT>)

Factory function for ExposurePatch.

CONST_PTR(afw::detection::Footprint)

Variables

geom::Point2D const& lsst::meas::algorithms::center{ return std::make_shared<ExposurePatch<ExposureT> >(exp, foot, center)
afw::detection::Footprint const &standardFoot
afw::detection::Footprint const geom::Point2D const& lsst::meas::algorithms::standardCenter
afw::detection::Footprint const geom::Point2D const afw::geom::SkyWcs const& lsst::meas::algorithms::standardWcs{ return std::make_shared<ExposurePatch<ExposureT> >(exp, standardFoot, standardCenter, standardWcs)
template<typename ExposureT>
class ExposurePatch
#include <ExposurePatch.h>

A convenience container for the exposure, peak and footprint that will be measured.

This is more useful than a std::pair or similar.

Public Types

typedef unsigned char FlagT

Type for flags.

Public Functions

typedef lsst::meas::algorithms::ExposurePatch::PTR(ExposurePatch)
typedef lsst::meas::algorithms::ExposurePatch::CONST_PTR(ExposurePatch)
lsst::meas::algorithms::ExposurePatch::ExposurePatch(CONST_PTR(ExposureT) exp, CONST_PTR( afw::detection::Footprint ) foot, geom::Point2D const & center)

Constructor.

Parameters
  • exp: Exposure of interest

  • foot: Footprint on exposure

  • center: Center of object on exposure

lsst::meas::algorithms::ExposurePatch::ExposurePatch(CONST_PTR(ExposureT) exp, afw::detection::Footprint const & standardFoot, geom::Point2D const & standardCenter, afw::geom::SkyWcs const & standardWcs)

Parameters
  • exp: Exposure of interest

  • standardFoot: Footprint on some other exposure

  • standardCenter: Center on that other exposure

  • standardWcs: WCS for that other exposure

CONST_PTR(ExposureT) const

Accessors.

CONST_PTR(afw::detection::Footprint) const
geom::Point2D const &getCenter() const
geom::AffineTransform const &fromStandard() const
geom::AffineTransform const &toStandard() const
void setCenter(geom::Point2D const &center)

Modifiers.

Private Functions

CONST_PTR(ExposureT) const

Exposure to be measured.

CONST_PTR(afw::detection::Footprint) const

Footprint to be measured.

Private Members

geom::Point2D _center

Center of source on exposure.

geom::AffineTransform const _fromStandard

Transform from standard WCS.

geom::AffineTransform const _toStandard

Transform to standard WCS.