Template Class ExposurePatch

Class Documentation

template<typename ExposureT>
class ExposurePatch

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.