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>
49 ): _exp(exp), _foot(foot), _center(center), _fromStandard(), _toStandard() {}
85 template<
typename ExposureT>
91 return std::make_shared<ExposurePatch<ExposureT> >(exp, foot, center);
93 template<
typename ExposureT>
100 return std::make_shared<ExposurePatch<ExposureT> >(exp, standardFoot, standardCenter, standardWcs);
ExposurePatch(boost::shared_ptr< ExposureT const > exp, afw::detection::Footprint const &standardFoot, afw::geom::Point2D const &standardCenter, afw::image::Wcs const &standardWcs)
void setCenter(afw::geom::Point2D const ¢er)
Modifiers.
afw::geom::Point2D const & getCenter() const
afw::geom::AffineTransform const & fromStandard() const
A convenience container for the exposure, peak and footprint that will be measured.
geom::Point2D skyToPixel(geom::Angle sky1, geom::Angle sky2) const
unsigned char FlagT
Type for flags.
geom::AffineTransform linearizeSkyToPixel(coord::Coord const &coord, geom::AngleUnit skyUnit=geom::degrees) const
ExposurePatch(boost::shared_ptr< ExposureT const > exp, boost::shared_ptr< afw::detection::Footprint const > foot, afw::geom::Point2D const ¢er)
Constructor.
geom::AffineTransform linearizePixelToSky(coord::Coord const &coord, geom::AngleUnit skyUnit=geom::degrees) const
boost::shared_ptr< ExposurePatch const > ConstPtr
std::shared_ptr< coord::Coord > pixelToSky(double pix1, double pix2) const
boost::shared_ptr< ExposurePatch > Ptr
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.
afw::geom::AffineTransform const & toStandard() const
boost::shared_ptr< afw::detection::Footprint const > const getFootprint() const
boost::shared_ptr< ExposureT const > const getExposure() const
Accessors.