25 #if !defined(LSST_MEAS_ALGORITHMS_EXPOSURE_PATCH_H)
26 #define LSST_MEAS_ALGORITHMS_EXPOSURE_PATCH_H
33 namespace lsst {
namespace meas {
namespace algorithms {
38 template<
typename ExposureT>
48 afw::geom::
Point2D const& center
85 template<typename ExposureT>
89 afw::geom::
Point2D const& center
91 return boost::make_shared<ExposurePatch<ExposureT> >(exp, foot, center);
93 template<
typename ExposureT>
96 afw::detection::
Footprint const& standardFoot,
97 afw::geom::
Point2D const& standardCenter,
100 return boost::make_shared<ExposurePatch<ExposureT> >(exp, standardFoot, standardCenter, standardWcs);
void setCenter(afw::geom::Point2D const ¢er)
Modifiers.
boost::shared_ptr< ExposureT const > const getExposure() const
Accessors.
geom::AffineTransform linearizePixelToSky(coord::Coord const &coord, geom::AngleUnit skyUnit=geom::degrees) const
Return the local linear approximation to Wcs::pixelToSky at a point given in sky coordinates.
afw::geom::Point2D const & getCenter() const
geom::Point2D skyToPixel(geom::Angle sky1, geom::Angle sky2) const
Convert from sky coordinates (e.g. RA/dec) to pixel positions.
unsigned char FlagT
Type for flags.
lsst::afw::detection::Footprint Footprint
ExposurePatch(boost::shared_ptr< ExposureT const > exp, afw::detection::Footprint const &standardFoot, afw::geom::Point2D const &standardCenter, afw::image::Wcs const &standardWcs)
Implementation of the WCS standard for a any projection.
boost::shared_ptr< coord::Coord > pixelToSky(double pix1, double pix2) const
Convert from pixel position to sky coordinates (e.g. RA/dec)
boost::shared_ptr< ExposurePatch const > ConstPtr
table::Key< table::Array< Kernel::Pixel > > image
boost::shared_ptr< ExposurePatch< ExposureT > > makeExposurePatch(boost::shared_ptr< ExposureT const > exp, boost::shared_ptr< afw::detection::Footprint const > foot, afw::geom::Point2D const ¢er)
Factory function for ExposurePatch.
boost::shared_ptr< ExposureT const > const _exp
Exposure to be measured.
boost::shared_ptr< ExposurePatch > Ptr
afw::geom::AffineTransform const & fromStandard() const
afw::geom::Point2D _center
Center of source on exposure.
afw::geom::AffineTransform const & toStandard() const
geom::AffineTransform linearizeSkyToPixel(coord::Coord const &coord, geom::AngleUnit skyUnit=geom::degrees) const
Return the local linear approximation to Wcs::skyToPixel at a point given in sky coordinates.
Point< double, 2 > Point2D
boost::shared_ptr< Coord const > ConstPtr
afw::geom::AffineTransform const _fromStandard
Transform from standard WCS.
boost::shared_ptr< afw::detection::Footprint const > const getFootprint() const
afw::geom::AffineTransform const _toStandard
Transform to standard WCS.
boost::shared_ptr< afw::detection::Footprint const > const _foot
Footprint to be measured.